HEX to RGB converter
Paste a HEX colour code like #5b7cff and get its RGB and HSL values.
- HEX
#5B7CFF - RGB
rgb(91, 124, 255) - HSL
hsl(228, 100%, 68%) - CSS variable
--brand: #5b7cff;
Lighter
This colour
Darker
How it works
It all happens in your browser. Your files are never uploaded, so it's safe for private papers.
- 1Paste your HEX code.
- 2Read the RGB value.
- 3Copy it.
More design tools
- Colour picker and converterPick a colour and get its HEX, RGB and HSL codes.
- Palette from a photoPull the main colours out of a photo or logo.
- Brand colour shadesLighter and darker shades of your brand colour.
- Contrast checkerIs your text readable on its background?
- Gradient makerSmooth colour gradients as CSS or a picture.
- Placeholder picture makerA plain picture at any size, with optional words.
