Declaration: ReverseRGBColor (Cl: TColor): TColor;
The usage of RGB colors is not consistent throughout all programs and machines. Some use the order RGB, others the order BGR. In order to cope with such situations you can use the function ReverseRGBColor which exchanges the R (red) and B (blue) values of the color Cl and returns the reversed color.