I've got the formula working and the debugger is showing that I have the correct values each time. Trouble is, the transparency is not working.

What I'm trying to do is get a color fade dependent...