▸ colorFromUuid(uuid
, options?
): string
Returns the generated color associated with the given uuid.
throws
Error
This exception is thrown if the input uuid string is not a valid UUID.
Name | Type | Description |
---|---|---|
uuid |
string |
The uuid for which to generate a color |
options |
Options |
An optional object to configure the color generation, and attach callbacks that directly receive the generated color code or components in various formats |
string
The generated color as a CSS <color>
notation string