Color Tools

Color picker source

Hover to preview, click to select color

#3b82f6

Color Values

HEX#3b82f6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
CMYKcmyk(76%, 47%, 0%, 4%)

CSS

background-color: #3b82f6;
color: #3b82f6;

Flutter / Dart

Color(0xFF3B82F6)
Color.fromRGBO(59, 130, 246, 1.0)
Color.fromARGB(255, 59, 130, 246)

Contrast Check (WCAG)

#ffffff
3.68:1
A
#000000
5.71:1
AA
#333333
3.44:1
A
#666666
1.56:1
Fail

History (0)

No colors selected yet

About Color Tools

Color Tools brings a color picker, converter, contrast checker and palette generator together for designers and front-end developers. Everything runs in your browser, including picking colors from your own images.

How to use Color Tools

  1. Choose a color with the picker, type a value, or upload an image and click a pixel.
  2. Copy the value in HEX, RGB, HSL or CMYK, or as CSS / Flutter code.
  3. Check text contrast against WCAG levels and build a palette.

Features

  • Eyedropper to pick colors from an uploaded image
  • HEX, RGB, HSL and CMYK conversion
  • WCAG contrast check
  • Palette generator with saved palettes
  • CSS and Flutter / Dart code snippets

Frequently asked questions

What contrast ratio do I need for accessible text?
WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 and 4.5:1.
Is my image uploaded when I pick colors from it?
No. The image is read on a canvas in your browser and never sent anywhere.