Color Picker
Choose colors and instantly convert between different formats (HEX, RGB, HSL). Perfect for designers and developers who need to work with colors in their projects.
Processed locally in your browser — nothing you enter here is uploaded.
Choose colors and instantly convert between different formats (HEX, RGB, HSL). Perfect for designers and developers who need to work with colors in their projects.
#3b82f6 converts to rgb(59, 130, 246) and hsl(217°, 91%, 60%). That's the math this tool runs on every change: normalize each channel to 0–1 (0.231, 0.510, 0.965), average the max and min for lightness (59.8% → 60%), derive saturation from how wide that range is relative to the lightness (91%), and compute hue from which channel is largest — blue here, giving 217°.
Two more you can check against the palette swatches: #f97316 → rgb(249, 115, 22) → hsl(25°, 95%, 53%), and #22c55e → rgb(34, 197, 94) → hsl(142°, 71%, 45%).
#RRGGBB), RGB (0–255 per channel), and HSL (hue 0–360°, saturation/lightness 0–100%). Changing a value in any tab updates the other two immediately.<input type="color">). On Chromium browsers (Chrome, Edge), that native picker adds a built-in eyedropper for sampling any pixel on your screen; Firefox and Safari don't expose that option.#rrggbb, rgb(r, g, b), or hsl(h°, s%, l%).#fff is rejected — expand it to #ffffff first.rgba(), hsla(), or an 8-digit hex.Type each HEX value below and confirm the RGB and HSL tabs update to match:
#3b82f6 → 59, 130, 246 → 217°, 91%, 60%#f97316 → 249, 115, 22 → 25°, 95%, 53%#22c55e → 34, 197, 94 → 142°, 71%, 45%All conversion math runs locally in your browser; nothing is uploaded. Pair it with the Box Shadow Generator or Website Design Simulator to build out a full set of design tokens.
Share this utility
Send the tool, not any text or files you entered. Input is never added to the share URL.
Where this comes from
Defines the colour notations produced and how they convert.
Links last checked August 13, 2026.