mattdesl / colorswatch

A small tool for choosing colors

Home Page:https://mattdesl.github.io/colorswatch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

color swatch

A small open source tool to pick colors from an image. Features:

  • Color picker in OKLCH, LCH, HSL, RGB
  • Minimal interface
  • Copy + paste colors with Cmd/Ctrl + C and Cmd/Ctrl + V
  • Duo swatch mode for color interaction tests

Currently desktop only.

demo

https://mattdesl.github.io/colorswatch

To use

Open the app and start changing colors with the sliders. Hit Cmd/Ctrl + C to copy the color string, or Cmd/Ctrl + V to paste a color string into the app and change the color to it.

Type R key to randomize all three color coordinates, or 1, 2, 3 keys to randomize individual coordinates.

Check the duo box to enable a second color, for interaction testing. Click on either color to select and 'activate' it for the sliders and keystroke functionality.

credits

Thanks to Colorjs.io for color functions.

related

Also see colorgrab.

About

A small tool for choosing colors

https://mattdesl.github.io/colorswatch/


Languages

Language:JavaScript 82.2%Language:HTML 17.8%