private string ReplaceColor(string line, ThemeColor o, List <ThemeColor> definitions) { for (int i = 0; i < definitions.Count; i++) { if (o.Equals(definitions[i])) { line.Replace("", ""); } } return(null); }
public bool Equals(ThemeColor c) { if (R == c.R && G == c.G && B == c.B) { return(true); } else if (Hex.ToLower().Equals(c.Hex.ToLower())) { return(true); } return(false); }