Conic Gradient Generator
Build conic gradients — pie charts, colour wheels and sweeps.
Convert HEX colour codes to RGB and HSL, and back again.
The HEX to RGB Converter turns a HEX colour code into RGB and HSL instantly, and converts back the other way. Three-digit shorthand is expanded automatically and eight-digit codes carrying an alpha channel are handled too.
Paste a HEX code and get RGB and HSL instantly, or work the other way and enter RGB values to get the HEX. Three-digit shorthand such as #f80 is expanded automatically, and eight-digit codes carrying an alpha channel are handled too.
A large preview swatch sits alongside the values, because a colour code alone tells you very little. The conversion is exact arithmetic, not an approximation, so values round-trip cleanly between formats.
Go from HEX to RGB or from RGB back to HEX without switching tools.
Three-digit codes such as #f80 are read correctly rather than rejected.
Eight-digit HEX codes carrying transparency are parsed and converted along with the colour.
The colour is shown at a usable size next to the values, because a code on its own tells you very little.
Conversions are computed, not approximated, so values round-trip cleanly between formats.
Type a HEX code, or fill in the red, green and blue fields.
The other formats update immediately, with a preview swatch.
Each output line has its own copy button.
It is shorthand where each digit is doubled, so #f80 expands to #ff8800. It can only express colours where both digits of each channel match.
The last two digits are the alpha channel, from 00 for fully transparent to FF for fully opaque. It is supported by every current browser.
Split the six digits into three pairs and convert each from hexadecimal to decimal. For example FF is 255, 88 is 136, so #ff8800 is rgb(255, 136, 0).
What people who use the HEX to RGB Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the HEX to RGB Converter. It takes half a minute and no account.
Write the first reviewBuild conic gradients — pie charts, colour wheels and sweeps.
Interpolate an even scale between two or more colours.
Turn a palette into CSS custom properties, Tailwind tokens or Sass.
Build tints, shades and tones from one colour.
See your palette as a real interface instead of swatches.
Turn an RGBA colour into an 8-digit HEX code, or flatten the alpha away.
Generate random colours you would actually use.
Convert CIELAB to HEX and RGB, and measure ΔE between colours.