public static void SetUserColor(int index, Color color) { index %= Editor.Settings.Charting.Colors.Count; Editor.Settings.Charting.Colors[index] = color; }