HEX and RGB are two ways of writing the same sRGB color. HEX uses three pairs of hexadecimal digits (#RRGGBB); RGB uses three decimal channels from 0–255.
Split the hex string into three two-character pairs and convert each from base-16 to base-10. #FF7F50 → R=255, G=127, B=80.
Use RGB when you need numeric channel values — for image manipulation, gradients defined in code, or anywhere you need to blend channels mathematically.
Tap any swatch to see its full breakdown.
Navy
#000080
Royal Blue
#4169E1
Sky Blue
#87CEEB
Baby Blue
#89CFF0
Powder Blue
#B0E0E6
Cornflower Blue
#6495ED
Steel Blue
#4682B4
Dodger Blue
#1E90FF
Cerulean
#007BA7
Teal Blue
#008080
Cyan
#00FFFF
Cobalt Blue
#0047AB
Azure
#007FFF
Sapphire
#0F52BA
Midnight Blue
#191970
Indigo
#4B0082
Periwinkle
#CCCCFF
Slate Blue
#6A5ACD
Colorframe shows you HEX, RGB, and every other format side-by-side as you pick. Copy any with one click.