Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How do I make a smooth color transition?
Answer:I'd like to show in a report some bars, which start with color A
and end with color B.
The color change should be very smooth.
My problem: If I would start from 255,0,0 and end by 0,0,0, I would have
255 different colors. If the bars are longer than 255 pixels, would
this look nice?
Try the code above in a window paint event handler.