Converts RGB values to Oklab color space.
An object with r, g, and b properties.
An object with L, a, and b properties.
If the input is not a valid RGB object or if RGB values are out of range.
Converts RGB values to Oklab color space.