Color picker and converter for Oklab and Lab color space.
OKLCH is a new way to encode colors (like hex, RGBA, or HSL):
- OKLCH has native browser support.
- It can encode more colors for modern screens (P3, Rec. 2020, and beyond).
- Unlike HSL, OKLCH always has predictable contrast after color transformation.
- In contrast with LCH and Lab, no hue shift on chroma changes.
- Provides great a11y on palette generation.
Additional links about Oklab:
To run a local copy for development:
-
Install
asdf
. -
Install Node.js and pnpm by
asdf
or manually:asdf install
-
Install dependencies:
pnpm install
-
Run local server:
pnpm start