/// <summary> /// Constructs a color from a 4 float color. /// </summary> /// <param name="color">The color to approximate.</param> public Color(OpenTK.Graphics.Color4 color) : this(color.ToArgb()) { }
public System.Drawing.Color ToSystemColor(OpenTK.Graphics.Color4 color) => System.Drawing.Color.FromArgb(color.ToArgb());
/// <summary> /// OpenTK color to System.Drawing.Color /// </summary> /// <param name="color"></param> /// <returns></returns> public static System.Drawing.Color ToSystemColor(this OpenTK.Graphics.Color4 color) { return(System.Drawing.Color.FromArgb(color.ToArgb())); }