toOklab

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.

@safe
toOklab

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)