Computes an approximation of the color c averaging two colors c1 and c2, that is if c1=(r1,g1,b1) and c2=(r2,g2,b2) as (Red,Green,Blue) triplets, then c=((r1+r2)/2, (g1+g2)/2,(b1+b2)/2).
- Parameters:
-
| c1 | the first color. |
| c2 | the second color. |
- Returns:
- the mean color c of c1 and c2.