OKLab Colormodel

OKLab intends to offer a gamut of all screen-renderable colors.

There are three paramters: Light, a and b.

Light determines the middlest color of the a- and b-axis.

The a- and b-axis both hold two more or less complementairy colors at a negative to positve scale. Negative values for a and b represent cold colors and positive value represent warm colors.

Color on the a-axis
Lighta ≈ -.4a ≈ 0a ≈ .4
L ≈ 0darkgreenblackdarkbrown
L ≈ .5seagreengreyred
L ≈ 1cyanwhitefuchsia
Color on the b-axis
b ≈ -.4b ≈ 0b ≈ .4
L ≈ 0dark indigoblackdarkgreen
L ≈ .5bluegreyred
L ≈ 1lightskybluewhitebright yellow

Thus the light parameter takes on the hue and saturation of a color too.

Base Color

Switch Signs
cold / warm

 
a = -a
 
b = -b
 
Complementairy
a = -a, b = -b

Switch Signs
swap a b

 
a = b
 
a = -b
 
b = a
 
b = -a
 
a = b, b = a
 
a = b, b = -a
 
a = -b, b = a
 
a = -b, b = -a

Invert values

 
l = 1 - l
 
a = (.4a / abs(a)) - a
 
b = (.4b / abs(b)) - b

Combined Invert

 
for Light and a
 
for Light and b
 
for a and b
 
for Light, a and b