public static SystemColor ToSystemColor(this Color color) { return(SystemColor.FromArgb(color.A, color.R, color.G, color.B)); }
public bool SystemDrawingColorEqual() { return(SystemColor.FromArgb(128, 128, 128, 128).Equals(SystemColor.FromArgb(128, 128, 128, 128))); }
public static SystemColor ToSystemColor(this Color4 color4) { var color = (Color)color4; return(SystemColor.FromArgb(color.A, color.R, color.G, color.B)); }
public static SystemColor ToSystemColor(this Color3 color3) { var color = (Color)color3; return(SystemColor.FromArgb(255, color.R, color.G, color.B)); }
public static SystemColor ToSystemColor(this Color4 color) { var byteColor = new Color(color); return(SystemColor.FromArgb(byteColor.A, byteColor.R, byteColor.G, byteColor.B)); }