A real-time 3D visualization of the sRGB colour gamut mapped within the perceptually uniform OkLab color space. (renders a high-density voxel field with 2,097,152 individual cubes)
A real-time 3D visualization of the sRGB colour gamut mapped within the perceptually uniform OkLab color space. (renders a high-density voxel field with 2,097,152 individual cubes)
I've published a public domain Odin package for colour space conversions targeting UI development. It implements OKLab, OKLCh, sRGB and Display P3 transform pipelines with piecewise gamma encoding and decoding. Based on Björn Ottosson's perceptual colour spaces. Gamut clipping, OKHSL and OKHSV are going to be included in the future releases. https://github.com/heavyrain266/colourspace