colorspacious icon indicating copy to clipboard operation
colorspacious copied to clipboard

Negative values for sRGB255?

Open hydrargyrum opened this issue 2 years ago • 1 comments

Is that expected?

>>> colorspacious.cspace_convert([(50, 50, 180)], "CIELCh", "sRGB255")
array([[-215.62190917,  139.1616917 ,  117.6047423 ]])

hydrargyrum avatar Jan 22 '22 21:01 hydrargyrum

Many colours cannot be represented in sRGB. Take a look at this Wikipedia image showing the sRGB triangle, Colours outside of that triangle could only be represented using negative values.

dreamlayers avatar Jan 24 '24 22:01 dreamlayers