Lab

OKLab colorspace conversions to/from Color. See: https://bottosson.github.io/posts/oklab/

L = perceived lightness. From 0 to 1.0.

a = how green/red the color is. Apparently supposed to be from -.233887 to .276216

b = how blue/yellow the color is. Apparently supposed to be from -.311528 to 0.198570.

Members

Static functions

fromLChDegrees
Lab fromLChDegrees(float L, float C, float h, float alpha)
fromLChRadians
Lab fromLChRadians(float L, float C, float h, float alpha)

L's useful range is between 0 and 1.0

Bugs

Seems to be some but i might just not understand what the result is supposed to be.

Meta

History

Added December 1, 2022 (dub v10.10)