Closed rdabbir-crestron closed 1 year ago
I found an issue with the RGB_BG function used for HSL. The color should change when the bottom most value is picked in the color picker. The same can be viewed in MS Paint Color grid. The fix for this is as below:
function RGB_BG_HSL(e, h) { utils.BG(e, h); }
colorjoe.hsl = colorjoe({ xy: function (col, p, xy, z) { ....... RGB_BG_HSL(z.background, col.css());
return col.hue(p.x).saturation(1 - p.y); }, });
Thanks a lot. I validated your fix and included it to 4.2.0.
4.2.0
I found an issue with the RGB_BG function used for HSL. The color should change when the bottom most value is picked in the color picker. The same can be viewed in MS Paint Color grid. The fix for this is as below:
colorjoe.hsl = colorjoe({ xy: function (col, p, xy, z) { ....... RGB_BG_HSL(z.background, col.css());