color-space
color-space copied to clipboard
Conversion errors HWB -> RGB -> HWB
it('breaks', () => {
const rgb = colorSpace.hwb.rgb([219, 31, 84]);
const hwb = colorSpace.rgb.hwb(rgb);
expect(hwb).toEqual([219, 31, 84]);
// actual value is [0, 26.956521739130434, 73.04347826086956]
});
Hm. Why was it closed?
@dy because no one responded for 3 years. I give up.
It got lost, but it is important issue. Needs investigating.