Using RGB to HEX Converter
A six-digit HEX color contains one byte each for red, green and blue. #3366CC corresponds to 51, 102 and 204. Opacity is a separate fraction from zero to one. Check the displayed color against its intended background when transparency is involved.
Example input
- RGB channels (0–255)
51, 102, 204
Example result
#3366CC
Read next · How to Choose the Right Online Tool
Input reference
- RGB channels (0–255)
- Enter text. Field hint — #3366cc.
- Second color / alpha / RGB values
- Enter text. Field hint — #ffffff or 0.5.
Continue your task
- CSS Gradient Generator — Generate an angled gradient from a starting color to orange.
- Color Converter — Convert HEX and RGB color values and preview them.
- HEX to RGB Converter — Convert HEX colors to RGB.