Color Picker
Pick a color with the native browser color input and view matching HEX, RGB and HSL formats. Use copy buttons to move values into your design or CSS workflow.
Result
HEX: #111827
RGB: rgb(17, 24, 39)
HSL: hsl(221, 39%, 11%)
How to use this tool
Enter the required values in the labeled fields. Results update in your browser and are announced for assistive technologies. Use realistic measurements and verify important outcomes before acting on them.
Formula or logic
The selected HEX color is parsed into red, green and blue channels, then converted to HSL.
Example calculation
Example: #111827 becomes RGB 17, 24, 39 and a dark blue-gray HSL value.
Practical use and limits
This page is built for checking practical color and accessibility details directly in the browser. The calculation is intentionally visible and described above so you can sanity-check the result instead of treating it as a black box.
Limit: visual perception, brand constraints and accessibility needs can require human review beyond the numeric output. For important decisions, use this result as a planning aid and verify it against the relevant source of truth.
Last reviewed: May 29, 2026.
Frequently asked questions
Can I copy the values?
Yes. Each generated color format has an accessible copy button.
Does this create palettes?
No. This tool focuses on single-color conversion and preview.
Is the color sent anywhere?
No. It stays in your browser.
Related tools
Contrast Checker
Check foreground and background colors against WCAG contrast rules.
Unit Converter
Convert length, weight and volume units in the browser.
Word Counter
Count words, characters, sentences, paragraphs and estimated reading time privately.