Okhsv and Okhsl Two new color spaces for color picking This post has an accompanying interactive comparison of color pickers . I would recommend checking out the interactive demo first, then return if you are interested in the background and technical details. Picking colors is a common operation in many applications and over the years color pickers have become fairly standardized. Ubiquitous…
sRGB gamut clipping When doing image processing, rendering or converting between RGB color spaces, it is easy to end up with RGB values outside of the 0.0 to 1.0 range (or 0 to 255 for 8-bit colors). This normally means that it isn’t possible to encode the color and it needs to be adjusted somehow before being displayed or encoded ( scRGB is an example of an exception, and has a different range).…
From personal project to industry standard Introduction added in 2025 When introduced Oklab in 2020, I never expected it to reach as far as it has. In a few years Oklab has, among other things, found its way into: Photoshop – Now the default interpolation method for gradients Web browsers – Part of CSS Color Level 4 and 5, supported by major browsers Game engines – Used in Unity’s gradients and…
How software gets color wrong Most software around us today are decent at accurately displaying colors. Processing of colors is another story unfortunately, and is often done badly. To understand what the problem is, let’s start with an example of three ways of blending green and magenta: Perceptual blend – A smooth transition using a model designed to mimic human perception of color. The blending…