Color has been one of the common means of visual expression on the web since its inception, but the usual mental model around it is outdated.
I’ll start with a comparison of color models, RGB/HSL/HSV vs LAB/LCH vs OKLAB/OKLCH/ICtCp.
I’ll talk about benefits and limitations of using wide gamut colors on the web (think Display P3), nuances of using them in CSS, SVG and Canvas.
On a practical side, I also want to mention modern color manipulation libraries and their benefits over legacy solutions.
We’ll touch topics of generative palette building, color mixing and as a bonus — brightness manipulation available on modern devices (XDR/Ultra HDR) using web technologies.