public static Color GetColor(this ICuiColor elem) => ColorEx.Parse(elem.Color);
public static void SetColor(this ICuiColor elem, Color color) { elem.Color = String.Format("{0} {1} {2} {3}", new Object[] { color.r, color.g, color.b, color.a }); }
public static void SetColor(this ICuiColor elem, Color color) { elem.Color = $"{color.r} {color.g} {color.b} {color.a}"; }
public static Color GetColor(this ICuiColor elem) { return(ColorEx.Parse(elem.Color)); }