Loading...
Loading...
Loading tool...
Pick colors and convert between HEX, RGB, HSL, and other formats.
As an affiliate, we may earn from qualifying purchases. Disclosure
Export your color palettes directly into your design tool. Figma is free for individuals.
Colors on screens are defined mathematically using color models. Understanding the three main models - HEX, RGB, and HSL - helps you work effectively in web design, branding, and UI development. Each model represents the same colors in a different way.
RGB is an additive color model where red, green, and blue light are combined. Each channel ranges from 0 to 255. Mixing all three at full intensity produces white; all at zero produces black.
RGB is the native model for screens but not intuitive for humans. It is hard to look at rgb(64, 128, 192) and visualize the color.
HEX is simply RGB written in hexadecimal notation. Each pair of hex digits represents one channel (00-FF = 0-255). It is the most common format in web development because it is compact.
#FF0000 = Red (255, 0, 0)#00FF00 = Green (0, 255, 0)#336699 = A steel blue (51, 102, 153)Shorthand: #369 expands to #336699.
HSL is the most human-intuitive model:
HSL makes it easy to create variations: keep the hue, adjust saturation for muted/vivid variants, adjust lightness for dark/light variants.
Web Content Accessibility Guidelines require minimum contrast ratios between text and background:
| Level | Normal Text | Large Text |
|---|---|---|
| AA (minimum) | 4.5:1 | 3:1 |
| AAA (enhanced) | 7:1 | 4.5:1 |
Always check contrast ratios when choosing text and background colors. Approximately 8% of men and 0.5% of women have some form of color vision deficiency, so never rely on color alone to convey information. Convert between color formats instantly with our hex converter.
HEX uses a 6-character hexadecimal code (#FF0000). RGB uses Red, Green, Blue values from 0-255. HSL uses Hue (0-360), Saturation (0-100%), and Lightness (0-100%).
Each pair of hex digits represents one color channel. #FF8800 = R:255, G:136, B:0. This tool converts automatically.
Color Picker is part of BriskTool's collection of free online tools. All processing runs entirely in your browser for maximum privacy and speed.