TypeScript

oklch-picker

Color Picker for LCH

E

evilmartians

Dernière activité 18 sept. 2026
evilmartians/oklch-picker

2 k

étoiles

123

forks

13

issues ouvertes

Ce README est souvent en anglais.

OKLCH & LCH Color Picker

Color picker and converter for OKLCH and LCH 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 accessibility on palette generation.

Additional links about Oklab and OKLCH:

Development

To run a local copy for development:

  1. Use Dev Container which is coming with right Node.js and pnpm (or install them manually).

  2. Install dependencies:

    pnpm install
  3. Run local server:

    pnpm start

Projets similaires

A most excellent multi-mode color picker

TypeScript
Iimathis
498 étoiles57

A modern collection of Vue color pickers – fast, accessible, and easy to use.

TypeScriptcolor-pickervuevue-components
Llinx4200
2,6 k étoiles356

👑 A tiny yet powerful tool for high-performance color manipulations and conversions

TypeScripta11ycolorcolor-names
Oomgovich
1,9 k étoiles66