Fade a color to white (increasing brightness)
- by Jon B
I want to make a text box in .NET "glow" yellow, and then "fade" to white (basically, by incrementally increasing the brightness). I think Stackoverflow does this after you've posted an answer. I know that increasing brightness is not all that simple (it's not just uniformly increasing/decreasing RGB), but I'm not sure how to do this.
Perfect color accuracy is not important for this. I am using C#, although VB examples would be just fine, too.
Edit: This is for Winforms.