<div dir="ltr"><div dir="ltr"><div dir="ltr">I've been playing with colors and found out about this color space.<div><a href="https://en.wikipedia.org/wiki/Oklab_color_space">https://en.wikipedia.org/wiki/Oklab_color_space</a><br></div><div><br></div><div>I'm sharing it in case anyone wants to play with this too. I implemented the two methods to create colors from parameters in this color space. It seems to be modern thing to use (see <a href="https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl">https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl</a> for example). It makes it easy to generate palettes varying only the hue without changing perceived lightness (and changing chroma minimally if it doesn't fit in the sRGB gamut). For example, try:</div><div><br></div><div>step := 360 / 10.0.<br>0 to: 360 - step by: step :: collect: [:h| ColoredBoxMorph new color: (Color okl: 0.75 c: 0.4 h: h)]<br></div><div><br></div><div>Cheers,</div><div>Luciano</div></div></div></div>