RGB to HEX
Convert RGB values like rgb(47, 111, 228) into a HEX code.
🔒 Runs on your device⚡ No upload✓ Free, no sign-up
How to use RGB to HEX
- Fill in the boxes above.
- The answer updates as you type.
- Copy the result if you need it somewhere else.
Questions
Is RGB to HEX free?
Yes. It is free with no sign-up, no watermark and no ads.
Is what I enter uploaded?
No. Everything happens in your browser. Nothing you type or open is sent to our server; we only count that the tool was used.
Does it work offline?
Yes, once the page has loaded it keeps working without internet.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux.
Related tools
HEX to RGBConvert a HEX colour code like #ff5b2e into RGB and the other formats.PX to REM converterTurn pixels into rem and em, or back, for any root font size.SVG to CSS backgroundTurn SVG code into a data URL you can use as a CSS background, no file needed.Colour converterTurn any colour into HEX, RGB, HSL, HSV and CMYK, ready to copy.Colour pickerPick a colour on a palette and get its HEX, RGB and HSL codes.Colour contrast checkerCheck if text and background colours are readable and pass WCAG AA and AAA.Tints and shades generatorMake lighter and darker versions of a colour, from 50 to 900, for a design system.Colour palette generatorBuild matching colours from one base: complementary, analogous, triadic and more.