colorjs / color-space

Math & data behind color spaces and color conversions.
http://colorjs.github.io/color-space
The Unlicense
324 stars 25 forks source link

Conversion errors HWB -> RGB -> HWB #33

Open lifeiscontent opened 7 years ago

lifeiscontent commented 7 years ago
  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]
  });
dy commented 4 years ago

Hm. Why was it closed?

lifeiscontent commented 4 years ago

@dy because no one responded for 3 years. I give up.

dy commented 4 years ago

It got lost, but it is important issue. Needs investigating.