I know chroma has a to_rgb method, but it's actually a port of tinyColor's toRgbString.
I am interested in adding a method to this lib which will output a hash eg., {r: 255, g: 255, b: 255}.
This can be very useful to do some arithmetic on the r, g and b values individually.
Is this something that makes sense to be added to this lib?
I know chroma has a
to_rgbmethod, but it's actually a port of tinyColor'stoRgbString.I am interested in adding a method to this lib which will output a hash eg.,
{r: 255, g: 255, b: 255}.This can be very useful to do some arithmetic on the
r,gandbvalues individually.Is this something that makes sense to be added to this lib?