Simple color operations and abstractions.
(color: Color) => string
This function takes a Color object and returns the CCS string version of the color.
(hue: number, saturation: number, lightness: number, alpha?: number) => HSLAColor
This function takes some arguments and creates a HSLAColor object.
(red: number, green: number, blue: number alpha?: number) => RGBAColor
This function takes some arguments and creates a RGBAColor object.
This interface describes a color object. Implementing objects are:
- HSLAColor
- RGBAColor