Calculating the resulting colour

Posted on December 18, 2019
Tags: css, html, programming

This is a simple Python application that calculate the resulting hex colour from a foreground colour, background colour, and opacity. This has been useful when writing templates using Flying Saucer which doesn’t support opacity, so we need to calculate final values manually.


$ python  a9b421 99e0b2 0.5

Now, if only this was a handy webpage…