Color Converter

conversion

Convert between different color formats (HEX, RGB, HSL)

hex
#1e90ff
rgb
rgb(30, 144, 255)
hsl
hsl(210, 100%, 56%)

About Color Formats

HEX

Hexadecimal color format used in CSS and HTML.

#1e90ff

RGB

Red, Green, Blue values (0-255).

rgb(30, 144, 255)

HSL

Hue, Saturation, Lightness format.

hsl(210, 100%, 56%)

Color Format Tips

Format Acceptance

The converter accepts various input formats:

  • HEX: Both with and without # prefix (e.g., #1e90ff or 1e90ff)
  • RGB: Full format or just values (e.g., rgb(30, 144, 255) or 30, 144, 255)
  • HSL: Full format or just values (e.g., hsl(210, 100%, 56%) or 210, 100%, 56%)

Common Use Cases

Different color formats are used in different contexts:

  • HEX: Most common in CSS and design tools
  • RGB: Useful for programmatic color manipulation
  • HSL: Intuitive for designers (hue, saturation, lightness)
Tagscolorsdesignhexrgb