Skip to main content
SwiftTools

Hex Color Picker

Free color picker. Pick a color and get its hex, RGB, RGBA and HSL values for CSS instantly.

Hex
#1A73E8
#RRGGBB
RGBA
rgba(26, 115, 232, 1.00)
CSS
HSL
hsl(214, 82%, 51%)
CSS
RGB
26, 115, 232
0-255
Contrast vs white
4.51:1
low
Contrast vs black
4.66:1
low
Best on
black
text color
hsl(214, 82%, 51%)

Color conversion happens in your browser. Nothing is uploaded.

About Hex Color Picker

Choose any color and copy its hex, RGB and HSL values for use in CSS. A live swatch and accessible contrast hint are included.

How to use it

  1. 1Pick a color from the picker.
  2. 2Read hex, RGB and HSL.
  3. 3Copy the value you need.

Examples

Primary blue

Input
#1a73e8
Result
rgb(26,115,232) · hsl(214,82%,50%)

Frequently asked questions

Can I pick colors with transparency?

Yes. The picker gives you hex with alpha (e.g. #1a73e880) plus full RGBA values for use in CSS.