Color provides static methods for color conversion.

Color contains three modules:

color-base Contains toHex and toRGB as well as KEYWORDS and REGEX

color-shl Extends color-base to provide HSL conversion methods and REGEX

color-harmony Provides methods to get complementary colors and other color palatte series. Also provides a utility to get the perceived brightness of a color and match a color with the perceived brightness of another.

Make a Donation