Calculating the resulting colour

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. e.g.: $ python rgba.py a9b421 99e0b2 0.5 #a1ca69 Now, if only this was a handy webpage…

December 18, 2019 · Nigel Sim