2
votes
3answers
112 views

“Darkening” a colour so that it's equivalent to the original when made transparent

When you make a colour partly transparent, it lightens (assuming it's on a white background), naturally. I would like to counter this behaviour by "darkening" a colour, so that when I make it ...
2
votes
3answers
278 views

How to extract the black and white components of an image to superimpose it over colored backgrounds

Say I want to create a glowing button for a website. I would like to have the possibility to dynamically change the color of that button by changing the color of it's background. For this I need to ...