Hex is camera film math
#RRGGBB mirrors 8-bit channels from early bitmap displays—256 levels per channel, 16.7 million combos from 3 bytes.
The quick brown fox
The quick brown fox
Designers and developers reach for different colour formats depending on the job. This picker shows and converts Hex, RGB, and HSL — and, with the alpha slider, it also outputs RGBA, HSLA, and Hex8 (hex with transparency). You can paste any of these into CSS or design tools and copy values with one click.
#RRGGBB (e.g., #1E90FF) or shorthand #RGB. With alpha, Hex8 becomes #RRGGBBAA (e.g., #1E90FFCC).rgb(30, 144, 255) and rgba(30, 144, 255, 0.8).hsl(210, 100%, 56%) and hsla(210, 100%, 56%, 0.8).The built-in contrast checker computes WCAG contrast ratios of your colour against light and dark backgrounds (and an optional custom background). Look for AA and AAA badges to verify text meets accessibility guidelines.
#RRGGBB mirrors 8-bit channels from early bitmap displays—256 levels per channel, 16.7 million combos from 3 bytes.
CSS supports 140 legacy names like rebeccapurple and lightgoldenrodyellow. They’re case-insensitive and map to fixed Hex values.
#RRGGBBAA stores transparency as the last two hex digits. CC equals about 80% opacity; 80 is ~50%.
Hue numbers wrap around a colour wheel: 0 and 360 are red, 120 green, 240 blue. Lightness 50% sits in the middle.
WCAG contrast uses relative luminance; 4.5:1 is AA for body text, 3:1 for large text. Doubling contrast isn’t a simple brightness tweak—it’s a math ratio.