RGB to HEX Converter
Convert RGB color values to a HEX code instantly, with a live color preview and HSL values included. Free, fast and private.
Your result will appear here.
How to use RGB to HEX Converter
- Enter the red, green and blue values (0–255 each).
- Click Convert to HEX.
- Copy the HEX code into your CSS or design tool.
Note: this tool runs in your browser. Nothing is uploaded.
Frequently Asked Questions
Is this tool free?
Yes, it is 100% free with no sign-up. Your data stays in your browser.
Do I need to install anything?
No. It works in any modern browser on phone, tablet or computer.
Is my data uploaded?
No. This tool runs entirely in your browser and your input is never uploaded to a server.
What is the HEX code for white and black?
White is #FFFFFF (255, 255, 255) and black is #000000 (0, 0, 0). Every color is a mix of red, green and blue in HEX form.