Black Friday until Nov 30: +50% on top-ups ⏳ Take the bonus
Utilities

Color Converter

Convert a colour from HEX, RGB or HSL to HEX, RGB and HSL.

Key facts

Colour converter online: enter HEX, RGB or HSL and get the same colour as HEX, RGB and HSL with ready CSS values. Free, no sign-up. Transparency and CMYK are not accepted as input.

Price
Free
Sign-up
Not required
Processing
On our server: the colour value is passed in the address bar (GET) and recalculated with simple maths; the tool calls no external service
Input
HEX (#FF5733 or FF5733, also 3 digits), rgb(255, 87, 51) or three comma-separated numbers
Limits
No sign-up and no limits; HEX, RGB and HSL are accepted as input, with no transparency (alpha)
Output
The colour as HEX, RGB and HSL (ready CSS strings and separate numbers), a swatch and a lighter/darker row
Last updated

See it in action

Color Converter

Convert a colour from HEX, RGB or HSL into HEX, RGB and HSL. Visual preview, ready CSS values and lighter and darker shades. There is no CMYK.

Input: HEX, RGB or HSL → output: HEX, RGB and HSL
Visual color preview
Ready-to-use CSS values

How to Use

  1. Enter a colour as HEX (#FF5733), RGB (255, 87, 51) or HSL (hsl(210, 50%, 40%))
  2. The tool shows the colour in HEX, RGB and HSL
  3. Copy the desired color value for use in CSS or design

FAQ

Enter a HEX such as #FF5733 and click Convert: you get rgb(255, 87, 51) and HSL. 3- and 6-digit codes work, with or without “#”.

Enter rgb(255, 87, 51) or just 255, 87, 51: the tool shows HSL, for example hsl(11, 100%, 60%).

No, HSL is output only. To turn hsl() into HEX, first get the RGB values another way.

No, rgba() and 8-digit HEX are not accepted.

The value goes to our server in the address bar (GET) and is calculated there. It is not passed to external services.

Who it is for and typical uses

  • From design to CSS. The designer gave #FF5733 and you need hsl() for a themed variable setup: get both at once.
  • Picking shades. The lighter/darker row by HSL lightness helps build hover and disabled states.
  • Consistent values. Get the same colour in three notations to align CSS, a design system and a graphics editor.

Honest limitations

  • No colour names. HEX, rgb() and hsl() are accepted as input, but a name like “red” gives a format error.
  • No transparency. rgba() and 8-digit HEX are not supported.
  • Rounding. HSL is rounded to integers, so converting back may differ by one.
  • No picker. There is no palette or eyedropper, only value input.

PromoPilot vs alternatives: comparison

We compare only what is confirmed on each service's own pages.

Parameter PromoPilot RapidTables Color Converter
Output formats HEX, RGB, HSL HEX, RGB, HSV, HSL; CMYK on separate pages
Colour picker ✗ ✗ preview only; links to a separate picker

Scroll the table sideways

Where we are weaker: no HSL/CMYK input, no transparency and no colour picker.

When to choose PromoPilot: When you need to turn a colour from a design into CSS and pick a lighter or darker shade. For HSL input, alpha or CMYK use another converter.

Checked on: . Terms and prices change, so check the services' own sites.

Cascade link promotion for your site $30 bonusBacklinks 5→50→5000 across 100+ platforms. From $30 to start, plus a $30 bonus for newcomers.