- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
RGB to HEX converter
Convert rgb(…) colors to HEX codes, plus every other color format.
- Free
- No sign-up
- Works on any device
About RGB to HEX converter
Enter red, green and blue values from 0 to 255, or paste rgb(59, 130, 246), and get the HEX code such as #3b82f6. Each channel becomes two hexadecimal digits. The tool also shows the same colour as HSL and other formats, which helps when a design tool and CSS use different notations.
How to use RGB to HEX converter
- Type the red, green and blue values, or paste an rgb(...) colour.
- Read the HEX code that appears right away.
- Copy the HEX code or any of the other colour formats shown.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
How do I convert RGB to HEX by hand?
Convert each of the red, green and blue numbers to base 16, padding to two digits, then join them. For example 255 becomes ff and 0 becomes 00, so rgb(255,0,0) is #ff0000.
What range can RGB values be?
Each channel runs from 0 to 255. A value outside that range is not a valid screen colour, so correct it before converting to HEX.
Can I convert an rgba colour with transparency?
Paste the three colour channels to get the HEX code. Transparency is a separate alpha value, which you can keep in rgba or add as an extra two-digit HEX pair.
Is RGB to HEX converter free?
Yes. RGB to HEX converter on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put RGB to HEX converter on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.