altercation / solarized

precision color scheme for multiple applications (terminal, vim, etc.) with both dark/light modes
http://ethanschoonover.com/solarized
MIT License
15.82k stars 3.52k forks source link

Blue/Violet/Green L*a*b -> Hex conversion #332

Open Parakleta opened 9 years ago

Parakleta commented 9 years ago

On the main page the table of colour values gives blue as L_a_b (55,-10,-45) and as Hex (#268bd2) but I cannot get any utility to make that conversion. I always get something around #008dd1 going LAB to Hex, and (56,-4,-44) going back the other way.

For Violet I get #5c73c4 going LAB to Hex and (50,20,-45) from the Hex value. For Green I get #8d9800 going LAB to Hex and (60,-25,65) from the Hex value.

In the Blue and Violet case the change in LAB value is (0, +5, 0), and in Green it is the reverse (0, -5, 0).