Alpha Compositing Calculator
Composite a translucent foreground colour over a background.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Uses straight-alpha sRGB channel arithmetic for one foreground-over-background calculation and does not render a preview.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Alpha Compositing Calculator
Fill in the fields:
- Foreground colour.
- Foreground alpha: 0 to 1.
- Background colour.
- Background alpha: 0 to 1.
Press “Composite colours”.
Copy the result, or download it as alpha-composite.json.
About this tool
Composite a translucent foreground colour over a background.
Applies straight source-over arithmetic to encoded sRGB channels. Nothing is rendered.

