Color Alpha Blender
Enter a colour with its opacity and a background colour. You get the solid result, plus the same colour at other opacities. You can also work backwards from a target.
Use the tool
Loading the tool…
About Color Alpha Blender
Work with see-through colours. Find the solid colour that a see-through colour looks like on a background, or find the see-through colour that gives a target colour on that background. Enter the colours in hex or as rgba.
Worked example
Enter a red colour at 50 percent opacity on a white background. The tool shows the solid colour that the mix looks like.
Limits
The result is a calculation. Check the colours on the screen where they will be used, because displays differ.
How to use Color Alpha Blender
- Choose what you want to find.
- Enter the top colour and its opacity.
- Enter the background colour.
- Copy the result.
Good to know
- Each channel is top x opacity + background x (1 - opacity), rounded to a whole number.
- A colour such as #ff000080 or rgba(255, 0, 0, 0.5) carries its own opacity. You can also type a percentage.
- Working backwards finds the colour that gives your target on that background. Some targets need a minimum opacity.
- The background must be solid. Layers with transparency on both sides are not supported.
Frequently asked questions
How do I make a solid colour that looks like 50% black on white?
Enter black, 50 as the opacity and white as the background. The result is #808080 (rounded).
Why can the reverse result be off by one?
Colour values are whole numbers from 0 to 255, so blending the result back can differ from the target by 1.
Is this the same as mixing two colours?
Almost. Mixing is the special case where the opacity is the share of the first colour. This tool also shows the see-through colour.