HEX to RGB converter
Read RGB channels from a hexadecimal color.
Formula
Each hex pair becomes one base-10 RGB channel.
How to use
- Enter a 3 or 6 digit hex code.
- Use an optional leading #.
- Copy RGB and inspect each channel.
Examples
- #f80 = rgb(255, 136, 0).
Frequently asked questions
What is RGB?
Red, green and blue channel values, each from 0 to 255.
How does shorthand work?
#f80 expands to #ff8800 by doubling each digit.
Is alpha supported?
No. This tool accepts opaque 3 or 6 digit colors.
Sources
Updated: