Using HEX to RGB 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
- HEX color
#3366cc
Example result
HEX #3366CC RGB(51, 102, 204) RGBA(51, 102, 204, 1)
Read next · How to Choose the Right Online Tool
Input reference
- HEX color
- 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.
- RGB to HEX Converter — Convert RGB channels to HEX.