HEX
HEX (hexadecimal) is the standard color notation on the web: a # followed by six hex digits, two per RGB channel. #FF0000 is pure red, #000000 is black, #FFFFFF is white. The 3-digit shorthand #F00 expands to #FF0000.
#FF6B35 = rgb(255, 107, 53)
Convert hexadecimal color values to RGB color values exactly, via the canonical 8-bit sRGB representation. Every result you see is the same number the W3C CSS spec would produce — no proprietary adjustments, no perceptual fudging. Try the live converter below, or scan the reference table for twenty-five named colors and their HEX ↔ RGB pairs.
Six hex digits (#RRGGBB) or three digits (#RGB)
rgb(R, G, B) or just R, G, B with each value 0–255
Enter the HEX color above. Convertitive accepts six hex digits (#rrggbb) or three digits (#rgb).
The result appears the moment your input parses. For example, #FF6B35 (Convertitive's coral accent) becomes rgb(255, 107, 53).
Click the copy button to grab the result. The preview swatch lives-updates so you can sanity-check the conversion at a glance.
Twenty-five well-known colors with their HEX and RGBrepresentations side by side. The swatches are rendered directly from the computed RGB, so what you see is exactly what you will ship.
| Name | HEX | RGB | |
|---|---|---|---|
| Black | #000000 | rgb(0, 0, 0) | |
| White | #FFFFFF | rgb(255, 255, 255) | |
| Red | #FF0000 | rgb(255, 0, 0) | |
| Lime | #00FF00 | rgb(0, 255, 0) | |
| Blue | #0000FF | rgb(0, 0, 255) | |
| Yellow | #FFFF00 | rgb(255, 255, 0) | |
| Cyan | #00FFFF | rgb(0, 255, 255) | |
| Magenta | #FF00FF | rgb(255, 0, 255) | |
| Silver | #C0C0C0 | rgb(192, 192, 192) | |
| Gray | #808080 | rgb(128, 128, 128) | |
| Maroon | #800000 | rgb(128, 0, 0) | |
| Olive | #808000 | rgb(128, 128, 0) | |
| Green | #008000 | rgb(0, 128, 0) | |
| Teal | #008080 | rgb(0, 128, 128) | |
| Navy | #000080 | rgb(0, 0, 128) | |
| Purple | #800080 | rgb(128, 0, 128) | |
| Orange | #FFA500 | rgb(255, 165, 0) | |
| Pink | #FFC0CB | rgb(255, 192, 203) | |
| Gold | #FFD700 | rgb(255, 215, 0) | |
| Tomato | #FF6347 | rgb(255, 99, 71) | |
| Coral | #FF7F50 | rgb(255, 127, 80) | |
| Salmon | #FA8072 | rgb(250, 128, 114) | |
| Indigo | #4B0082 | rgb(75, 0, 130) | |
| Chocolate | #D2691E | rgb(210, 105, 30) | |
| Crimson | #DC143C | rgb(220, 20, 60) |
HEX (hexadecimal) is the standard color notation on the web: a # followed by six hex digits, two per RGB channel. #FF0000 is pure red, #000000 is black, #FFFFFF is white. The 3-digit shorthand #F00 expands to #FF0000.
RGB describes a color by its red, green, and blue channels — each on a 0–255 scale (8 bits per channel). It is what computer monitors and most digital cameras emit, and what every other web color format ultimately maps to.