TheOmniTool logoTheOmniTool
Color

Color Converter

Convert colors between HEX, RGB, and HSL.

hex#4f46e5
rgbrgb(79, 70, 229)
hslhsl(243, 75%, 59%)

How to use this tool

  1. 1Pick a color or type a HEX code.
  2. 2All formats (HEX, RGB, HSL) update live.
  3. 3Copy whichever format you need.

Frequently asked questions

What's the difference between RGB and HSL?

RGB mixes red, green, and blue light; HSL describes hue, saturation, and lightness, which is often more intuitive for adjusting shades.

Are 3-digit HEX codes supported?

Yes. Shorthand like #f80 is expanded to #ff8800 automatically.

Related tools