RGB to HEX Converter
Turn a color's red, green and blue numbers into a HEX code you can use on a web page.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the RGB to HEX Converter
- Type the red, green and blue numbers.
- The HEX code shows straight away.
- Copy the code into your style sheet.
Frequently asked questions
What is a HEX color code?
It is a color written as a # sign and six letters or numbers. The first two stand for red, the next two for green, and the last two for blue.
What range do the numbers use?
Each color channel goes from 0 to 255.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.