Image Contrast Fader

LINK

I’ve seen this on a few sites and I decided to work out how to do it. It still needs work, I want it to fade to a colour rather than just plain white.

I’m using the ColorTransform class rather than the older Color.setTransform method, but I’m still a little confused by offsets and multipliers.

Tell me what you think.