Color Picker
Click and drag to choose any color, or paste a code, and copy it as HEX, RGB, HSL, HSV, CMYK or OKLCH. Below the picker you get shades, tints and tones, color harmonies and WCAG contrast results for white and black text. A ready-made Power Fx RGBA() value is included for Power Apps.
Also known as: hex color picker, color code picker, rgb color picker, html color picker, color picker online.
#742774rgb(116, 39, 116)hsl(300, 50%, 30%)hsv(300, 66%, 45%)cmyk(0%, 66%, 0%, 55%)oklch(41.9% 0.145 327.8)RGBA(116, 39, 116, 1)Shades (mixed with black)
Tints (mixed with white)
Tones (mixed with gray)
Complementary
Analogous
Triadic
Tetradic
Text contrast (WCAG)
White text: 9.19:1, AAA
Black text: 2.28:1, Fails WCAG
Your data is processed locally in your browser and is not uploaded to our servers.
Features
- HEX, RGB, HSL, HSV, CMYK and OKLCH codes
- Power Fx RGBA() code for Power Apps
- Shades, tints and tones
- Complementary, analogous, triadic and tetradic harmonies
- WCAG contrast ratios for white and black text
- Screen eyedropper in supported browsers
How to use the Color Picker
- Drag in the color square and move the hue slider, or type a HEX code.
- Copy the code format you need.
- Click any swatch in the palettes to continue from that color.
Examples
Power Apps purple in each format
HEX #742774 RGB rgb(116, 39, 116) HSL hsl(300, 50%, 30%) Power Fx RGBA(116, 39, 116, 1)
Frequently asked questions
How many HEX colors are there?
16,777,216, because each of the red, green and blue channels has 256 possible values.
What is the difference between HEX and RGB?
They describe the same color. HEX writes the three channel values in base 16, such as #FF0000, while RGB writes them in decimal, such as rgb(255, 0, 0).
What contrast ratio does WCAG require?
Normal text needs at least 4.5:1 for level AA and 7:1 for AAA. Large text needs at least 3:1 for AA.