Color Picker
Pick an sRGB color and copy its hex, RGB, or HSL values.
Runs on your device. Nothing you add is uploaded.
#FF5A1F
Hex
#FF5A1F
RGB
rgb(255, 90, 31)
HSL
hsl(15.8, 100%, 56.08%)
How to use Color Picker
- Open the color control.
- Choose a color and inspect the swatch.
- Copy the format you need.
Questions
Which values work in CSS?
CSS accepts all three formats shown here. Hex, rgb(), and hsl() are different ways to write the same opaque color.
Can I check the color against a background?
Use the contrast checker with your color and the background color to see their WCAG contrast ratio.
How this works
Uses the browser's native color picker and converts opaque sRGB colors locally.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in Color & designWCAG Contrast Checker
Check two colors against WCAG contrast thresholds for text and interface components.
Color Palette Generator
Build a palette of related colors from a base color and a color scheme.
Hex to RGB
Convert an opaque hex color to RGB and see the swatch.
RGB to Hex
Convert an opaque RGB color to hex and see the swatch.