3 ms·
I agree re HSL, HCL, and HSV, however the LAB gradients do tend to look nicer than RGB ones, without passing through random other hues in the middle.
by meetups323 5y ago
I agree re HSL, HCL, and HSV, however the LAB gradients do tend to look nicer than RGB ones, without passing through random other hues in the middle.
- mcv 5y agoI know nothing about gradients, but wouldn't dithering provide the best results? That way you're truly mixing those two colours and not going through completely different colours based on some arbitrary numerical representation of the colours.
- meetups323 5y agoOnly if you want a dithered look, which oftentimes you don't.
- mcv 5y agoI guess it depends on the size of your pixels. But as long as your pixels are small enough, I think this is the only way to have a gradient go straight from one colour to an opposite colour without going through either grey or a multitude of other colours.
- jakear 5y agoPixels are much larger than imperceptible, even on "retina" devices: https://jacksonkearl.github.io/canvas-thing/ https://jacksonkearl.github.io/canvas-thing/