RGB to HEX converter
Paste an RGB colour like rgb(91, 124, 255) and get its HEX code.
- 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 RGB colour.
- 2Read the HEX code.
- 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.
