argyleink/css-color-component

a modern color picker for the web with support for all spaces

TypeScript

239

111 commits

updated Aug 29, 2026

See the code

README

<color-input>

Screenshot 2026-03-23 at 10 06 09 PM

A standalone web component color picker built with colorjs.io and Preact Signals.

It's meant to be easy to drop into any app while still supporting modern CSS color workflows:

  • modern CSS color syntax, including wide-gamut spaces
  • inline text editing, numeric inputs, sliders, and a 2D area picker
  • automatic conversion between editing spaces
  • popover UI, anchor positioning, and Shadow DOM + CSS parts
  • gamut detection, contrast readouts, copy, and EyeDropper support

Try on CodePen, use it inline, or get it on NPM

Made with 🫀 by nerdy.dev

Contributors

argyleink

75 commits

TrySound

9 commits

Copilot

6 commits

argyleink/css-color-component

a modern color picker for the web with support for all spaces

TypeScript

239

111 commits

updated Aug 29, 2026

See the code

README

<color-input>

Screenshot 2026-03-23 at 10 06 09 PM

A standalone web component color picker built with colorjs.io and Preact Signals.

It's meant to be easy to drop into any app while still supporting modern CSS color workflows:

  • modern CSS color syntax, including wide-gamut spaces
  • inline text editing, numeric inputs, sliders, and a 2D area picker
  • automatic conversion between editing spaces
  • popover UI, anchor positioning, and Shadow DOM + CSS parts
  • gamut detection, contrast readouts, copy, and EyeDropper support

Try on CodePen, use it inline, or get it on NPM

Made with 🫀 by nerdy.dev

Contributors

argyleink

75 commits

TrySound

9 commits

Copilot

6 commits

Languages

TypeScript

93.8%

CSS

6.1%