suou.color

Colors for coding artists

New in 0.7.0

Classes

Chalk([flags, ends])

ANSI escape codes for terminal colors, similar to JavaScript's chalk library.

ColorFormatter([fmt, datefmt, style, ...])

Colored logging formatter.

LinearRGBColor(red, green, blue)

Represent a color in the linear RGB space.

OKLCHColor(l, c, h)

Represent a color in the OKLCH color space.

OKLabColor(l, a, b)

Represent a color in the OKLab color space.

RGBColor(red, green, blue)

Representation of a color in the sRGB / TrueColor (0 to 255) space.

WebColor

XYZColor(x, y, z)

Represent a color in the XYZ color space.