colorparsley

colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included

deepcolour

Parsing, conversion and manipulation of RGBA, CSS and HSV colours, as well as vectors