Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Hex to RGB

Convert colors between hex, rgb(), and hsl() with linked live inputs — paste any format, including CSS color names, and get all the others.

Processed locally in your browser — nothing is uploaded.

CSS named color

No exact match among the 148 CSS named colors.

About Hex to RGB

Paste a color in any common notation — #f60, #ff6600, #rrggbbaa, rgb(255 102 0), hsl(24, 100%, 50%), or a CSS name like tomato — and the other formats update instantly. Edit whichever field you like; the rest stay in sync.

If the color exactly matches one of the 148 CSS named colors, the name is shown too, so you can write `rebeccapurple` instead of a hex code when it reads better.

Common uses

  • Translate a designer's hex code into rgb() for an rgba() overlay
  • Convert rgb() values from a screenshot tool into hex for CSS
  • Check whether a hex code has a memorable CSS name

Example

Input

#ff6347

Output

rgb(255, 99, 71) · hsl(9, 100%, 64%) · CSS name: tomato