UInt32 rgba = color.R | ( color.G << 8 ) | ( color.B << 16 ) | ( color.A << 24 ); Color color = Color.FromRgba( rgba & 0xFF, ( rgba >> 8 ) & 0xFF, ( rgba >> 16 ) & 0xFF, ( rgba >> 24 ) & 0xFF );