Free online tools · Browser-first utilities · No account required
Home / Design Tools / RGB to HEX Converter
Design Tools

RGB to HEX Converter

Convert RGB channels to HEX.

Using RGB to HEX Converter

On this page
  1. Using RGB to HEX Converter
  2. Input reference
  3. Continue your task

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.
Report a correction

← Browse all 311 tools