How to use RGB to HEX Converter
- Pick a colour with the colour box, or type a code such as
#4f46e5,rgb(79, 70, 229)or a name liketomato. - The results update instantly.
- Click Copy or any colour swatch to copy its code.
What is it good for?
Convert red, green and blue numbers into a hex colour code.
Designers and developers move between colour formats constantly, and getting a conversion even slightly wrong can make a brand colour look off. People most often reach for it when building a palette for a website or presentation, converting design-tool values into CSS and matching a colour you spotted to a code you can use.
See it in action
For example, the colour rgb(30, 144, 255) comes out like this:
Using it day to day
Everything runs in your browser, so the tool keeps working even on a slow connection once the page has loaded.
The layout adjusts to phones and tablets, so you can use it on whichever device is handy.
Privacy
Colours are calculated in your browser. Nothing leaves your device.
Frequently asked questions
Is RGB to HEX Converter free to use?
Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.
Is my data safe when I use RGB to HEX Converter?
Colours are calculated in your browser. Nothing is uploaded.
Does RGB to HEX Converter work on my phone?
Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.
Any tips for using RGB to HEX Converter?
Each channel runs from 0 to 255. Paste as rgb(30, 144, 255) or just 30, 144, 255.