I have a list of LABColors: {{l1,a1,b1},{l2,a2,b2}..{ln,an,bn}} I want to convert it to a list of RGBColors of same form: {{r1,g1,b1}, {r2,g2,b2}, .. {rn,gn,bn}}
I have been trying for a few hours but I keep running into snags ..
for example: c1 = LABColor[l1,a1,b1] -> I get a color swatch
ColorConvert[c1, "RGB"] -> I get a good transform, but it is a color swatch
ColorConvert[c1, "RGB"] // InputForm -> I get RGBColor[r1,g1,b1]
and I am stuck here.
I need the result to be in list form {{r1, g1, b1},...}
Thanks for any suggestions, pointers :)
RBGColor[r, b, g]
. You want to replaceRBGColor
withList
:rgbcolors /. RGBColor -> List
. Yes/no? $\endgroup$