#oklab #color #hex-color

app oklch-color-picker

A standalone graphical color picker using the Oklch color space. Allows output to hex, rgb, hsl and many other formats.

7 stable releases

new 1.6.3 Oct 7, 2024
1.6.1 Oct 5, 2024
1.6.0 Sep 30, 2024

#15 in Visualization

Download history 363/week @ 2024-09-18 178/week @ 2024-09-25 313/week @ 2024-10-02

854 downloads per month

MIT license

615KB
2K SLoC

Oklch Color Picker

picker

Try the web demo: https://oklch.eerolehtinen.fi/

Features

  • Takes an input color as a cli argument and ouputs the edited color to stdout
  • Uses a perceptual colorspace (Oklch) to allow intuitive editing
  • Supports many color formats for input and output (editing uses only Oklch):
    • Hex (#RGB, #RGBA, #RRGGBB, #RRGGBBAA)
    • Other common CSS formats (rgb(..), hsl(..), oklch(..))
    • Any list of 3 or 4 numbers can be used as a color (e.g. 0.5, 0.5, 0.5 or 120, 120, 120, 255)
  • Hardware accelerated for maximum smoothness and high resolutions

Installation

Download from Releases.

If you have cargo, you can also install with:

cargo install oklch-color-picker --locked

Check out the neovim plugin that this picker was made for eero-lehtinen/oklch-color-picker.nvim.

Inspired by https://oklch.com/.

Dependencies

~20–60MB
~1M SLoC