OBGNAUH TOOLS Free online tools

Design

Color Converter

Convert colours between HEX, RGB and HSL.

Live Launched 2026-12-06 Local processing
Back to category

Color converter

Live conversion
#2F6FED

Type in HEX, rgb() or hsl() and the other formats plus the preview update live. 3- and 6-digit HEX are supported.

R47
G111
B237
H222°
S85%
L56%
Current color
#2F6FED
Use the copy buttons next to RGB or HSL to get CSS-ready values.

HEX is common in CSS and design files; rgb() makes channel math and alpha easy; hsl() is intuitive for hue, saturation and lightness.

How to use this tool

Convert between HEX, RGB and HSL in real time, with channel values.

  1. Enter a color in HEX, rgb() or hsl().
  2. The other formats, channels and preview update instantly.
  3. Copy any CSS value, or use random and reset.

Frequently asked questions

Are 3-digit HEX values supported?

Yes. #f00 expands to #FF0000 automatically.

Is alpha supported?

This tool focuses on solid HEX/RGB/HSL. Use rgba or hsla separately when you need transparency.

Why does HSL differ slightly from design software?

Hue, saturation and lightness are rounded for display, and RGB can differ by one level due to rounding.

MORE TOOLS

Related tools

Color Picker

Pick colours with a live preview and copy the values.

LiveDesign