Color Picker
Color decisions in Power Apps come down to numbers: RGBA(116, 39, 116, 1), a HEX code from your brand guide, or ColorValue("#742774"). This color picker lets you choose a color visually, or paste a HEX code, and shows every format at once, including a ready Power Fx RGBA() formula. It also builds shades, tints and color harmonies and checks text contrast, so the colors in your app look consistent and stay readable for everyone.
Also known as: hex color picker, color code picker, rgb color picker, html color picker, color picker online.
Selected color
#742774
rgb(116, 39, 116)
White text: 9.2:1 AAA
Black text: 2.3:1 Fail
#742774rgb(116, 39, 116)RGBA(116, 39, 116, 1)hsl(300, 50%, 30%)hsv(300, 66%, 45%)cmyk(0%, 66%, 0%, 55%)oklch(41.9% 0.145 327.8)Darker versions, mixed with black. Good for pressed buttons and borders.
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 to choose a color, or type a HEX code in the HEX box.
- Read the formats: HEX, RGB, HSL, HSV, CMYK, OKLCH and Power Fx. Click Copy next to the one you need.
- Open the palettes below. Shades and tints give you darker and lighter versions for hover, pressed and disabled states, and harmonies show colors that pair well with your base color.
- Check the contrast boxes. They show the ratio for white text and for black text on your color, and whether it passes WCAG AA or AAA.
- Click any swatch to continue from that color, then copy the final values into your app.
Real-world use case: matching a Power Apps theme to your brand and keeping it readable
Imagine a client sends a brand guide with a HEX code, say #742774. Power Apps does not accept HEX in the Fill property directly, so you either call ColorValue("#742774") or paste RGBA(116, 39, 116, 1). Paste the HEX code into the picker and copy the Power Fx line. Do this once for each brand color, then store the results as variables or named formulas such as varBrand, so every screen uses the same values.
Next, build states. A button needs a normal, hover and pressed color. Use the shades and tints on this page to pick fixed values, or let Power Fx calculate them: ColorFade(varBrand, 20%) makes a lighter version and ColorFade(varBrand, -20%) a darker one. Seeing the result here first makes it easier to choose percentages that look right.
Accessibility is where the contrast checker earns its place. White text on #742774 gives a ratio of 9.2:1, which passes both WCAG AA and AAA for normal text. A light purple with white text may look nice but fail, and users with low vision, or anyone using a phone in bright sunlight, will struggle to read it. Check every button, label and header color before you build the screen, not after the client review.
Finally, use the harmony palettes to choose accent colors for charts and status badges. Complementary and triadic colors sit far apart on the color wheel, which makes them easier to tell apart than random picks.
Example input and output
Brand HEX code in every format
HEX #742774 RGB rgb(116, 39, 116) HSL hsl(300, 50%, 30%) HSV hsv(300, 66%, 45%) CMYK cmyk(0%, 66%, 0%, 55%) OKLCH oklch(41.9% 0.145 327.8) Power Fx RGBA(116, 39, 116, 1)
Using it in Power Apps
Fill: RGBA(116, 39, 116, 1) HoverFill: ColorFade(RGBA(116, 39, 116, 1), 20%) Color: White
Frequently asked questions
How do I use a HEX color in Power Apps?
Use ColorValue("#742774") or convert the HEX code to RGB and write RGBA(116, 39, 116, 1). This picker shows both, and you can paste either one into a Fill, Color or BorderColor property.
How do I make a color lighter or darker in Power Apps?
Use ColorFade. A positive percentage lightens the color and a negative percentage darkens it, for example ColorFade(varBrand, 25%).
What contrast ratio does accessible text need?
WCAG level AA asks for at least 4.5:1 for normal text and 3:1 for large text. Level AAA asks for 7:1 for normal text.
Why use PowerApps Ninja?
The picker runs in your browser, so it responds instantly and keeps working on a slow connection once the page has loaded. It is built around Power Apps, with RGBA() output and accessibility checks in the same place, so you do not have to switch between a converter, a palette tool and a contrast checker.