Web Dev

Color Converter

Convert colors between HEX, RGB, HSL, and HSV formats.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Color Converter and press Return.
  2. Paste or type your text into Input.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Convert, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
What to enter
Enter color (e.g., #FF5733, rgb(255, 87, 51), hsl(9, 100%, 60%))

Options

OptionValuesDefault
Uppercase HEXUse uppercase letters in HEX valuesOn or offOn
Include alpha channelShow RGBA/HSLA formatsOn or offOff
Show CSS snippetsInclude CSS color declarationsOn or offOn

Example

Real output from Devly, with the default options.

Input
#0A84FF
HEX
#0A84FF
RGB
rgb(10, 132, 255)
HSL
hsl(210°, 100%, 51%)
HSV
hsv(210°, 96%, 100%)
RGB Values
R: 10, G: 132, B: 255
CSS Variable
--color: #0A84FF;

From Terminal

With the free command-line tool installed:

Terminal
devly color "#0A84FF"
# or pipe text in
pbpaste | devly color

Quick Switch also finds it by: color, hex, rgb, hsl, hsv, convert, picker, css.

More Web Dev tools