css-colors
css-colors copied to clipboard
rgb(0, 1, 0) computes to hsl(120, Infinity%, 0%)
I was trying various tweaks for a palette and happened to hit this.
same hsl result with rgb(0, 2, 0) => hsl(120, Infinity%, 0%) but if you then try rgb(0, 3, 0) => hsl(120, 59%, 1%)
and rgb(1, 1, 1) ? => hsl(0, 0%, 0%)
hope this helps with debugging