Skip to content

oklabToColor

oklabToColor(L, a, b, target?): Color 

Defined in: packages/three-flatland/src/color/conversions.ts:113

Convert OKLAB to a Three.js Color. Clamps to 0..1. Writes working-space linear components via setRGB (no colorSpace arg), matching the three.js default.

number

number

number

Color 

Color