public static UniColor BGRToColor(BGRDATA Bits) { var tibs = new RGBDATA(); tibs.Red = Bits.Red; tibs.Blue = Bits.Blue; tibs.Green = Bits.Green; return(RGBToColor(tibs)); }
// Single Convert ColorRef to RGB-reversed public static void ColorToBGR(UniColor color, out BGRDATA bits) { var tibs = new RGBDATA(); ColorToRGB(color, out tibs); bits.Blue = tibs.Blue; bits.Red = tibs.Red; bits.Green = tibs.Green; }