# Color Formula, 2 colors, 1 alpha

**URL:** https://forum.kirupa.com/t/color-formula-2-colors-1-alpha/200678
**Category:** flash
**Created:** [September 14, 2006, 6:37am UTC](https://forum.kirupa.com/t/color-formula-2-colors-1-alpha/200678 "2006-09-14T06:37:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SmoothDime](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)
#### Post date: [September 14, 2006, 6:37am UTC](https://forum.kirupa.com/t/color-formula-2-colors-1-alpha/200678/1 "2006-09-14T06:37:28Z")

</div>

Hi. Does anyone know the formula to find the resulting color when i have a top color, a bottom color and an alpha value for the top color?

For example:

top color: FF0000  
bottom color: FFFFFF  
top color alpha: 50%

resulting color: FF7F7F

Thanks if you can figure this out.
