This is a small library (wip) for using and manipulating color spaces. The plan is to support RGBA, CMYK and HSL, conversion between all spaces, usage of generic types so that any width float or unsigned integer can be used for storage, etc.
I started this because I realized that I was writing the same code for handling RGBA, converting it to and from hexadecimal strings and integer to float conversions over and over again. I started expanding it when I realized that we probably need something like this and it wouldn’t be too difficult.
Right now, RGBA is the most supported color space, and conversion from RGBA to CMYK just landed.