Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.02 KB

Reference - v0.1.0

Table of contents

Interfaces

Functions

Functions

colorFromUuid

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.

Parameters

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

Returns

string

The generated color as a CSS <color> notation string

Defined in

index.ts:81