Strings, hex and named colors
Parse and format hex, handle full CSS Color Level 4 syntax, look up the 148 CSS/SVG names, and turn a color back into its keyword â exactly matching or nearest.
8-bit packing
Quantize a color to 8-bit sRGB and pack it into a 32-bit integer in ARGB, RGBA, ABGR or BGRA order, and unpack it again.