Converts RGB color to YCoCg.
procedure RGBToYCoCg(R: Byte;
G: Byte;
B: Byte;
var Y: Byte;
var Co: Byte;
var Cg: Byte);ImagingColors (at line 72)