A new open-source library called 'colourspace' has been released for the Odin programming language, providing modern color space transformations including OKLCh, OKLab, sRGB, Display P3, and Rec. 2020. The library focuses on correct, minimal implementations for UI frameworks and creative tools, with gamut mapping that aims to avoid hue drift issues present in some other implementations.
Background
Color space transformations are fundamental in computer graphics and digital imaging, with modern displays supporting wider color gamuts like P3 and Rec. 2020. OKLab is a relatively new color space designed for perceptual uniformity and intuitive color manipulation.
- Source
- Lobsters
- Published
- May 31, 2026 at 07:12 PM
- Score
- 5.0 / 10