Alpha channel tool
Add transparency to any color. Get HEX8, RGBA and percentage opacity values with a live preview on white, gray and black backgrounds. Free, browser-only.
Add transparency to any color and get the HEX8, RGBA and percentage opacity values at once, previewed on white, gray and black backgrounds. HEX8 extends a hex code with two alpha digits.
Preview on multiple backgrounds catches contrast problems before they ship, because transparency reads differently depending on what sits beneath it.
Prefer transparent colors over the opacity property when only part of an element should fade: opacity dims the element and everything inside it (including its text), while an rgba() background fades just the layer you point it at. That distinction is the difference between a readable glass card and washed-out text.
#3a86ff80rgba(58, 134, 255, 0.5)50%Quick presets
Preview on common backgrounds
Want the full design system from a color? Open the color palette generator to create accessible palettes, semantic tokens, light and dark themes, and production-ready CSS — all from a single color.
How to use this tool
- Pick a color and adjust the opacity slider.
- Use quick presets for common opacity values.
- Copy the HEX8 or RGBA value.
Frequently asked questions
- What is HEX8?
- HEX8 is an 8-digit hex code where the last two digits represent alpha (transparency). For example, #3a86ff80 is blue at 50% opacity.
- How do I parse HEX8 back to a color?
- The first 6 digits are the color, the last 2 are the alpha channel in hex. #ff000080 = red at 50% opacity (0x80 = 128, 128/255 ≈ 50%).
- Why preview on multiple backgrounds?
- Transparency looks different depending on what's behind it. Previewing on white, gray and black helps you catch contrast issues before shipping.
- Does a transparent color keep its WCAG rating?
- No — a contrast ratio is only valid for the final blended color on a specific background. A 50% black overlay on white is effectively gray, so always measure the composited result (eyedropper the rendered pixel if you must) rather than the base color.
Related tools
Related guides
Color theory · 26 Aug 2026
Mix colors and use alpha without ruining your palette
Blending colors and adding transparency seem easy — until they turn your palette to mud. Here's the alpha-aware way to do both.
Tutorials · 6 Nov 2026
Transparency in UI: scrims, glass, and overlays
See-through, still readable: transparency with the math done.
Alpha channel tool runs entirely in your browser — nothing you enter is sent to a server.