/// <summary>
 /// Initialzies a new instance of the RepeatedColorConsoleStyle class.
 /// </summary>
 /// <param name="fallbackForegroundColor">The fallback foreground color.</param>
 /// <param name="foregroundColors">The foreground colors.</param>
 public RepeatedColorConsoleStyle(ConsoleColor fallbackForegroundColor, IEnumerable <Color> foregroundColors)
 {
     ForegroundConsoleColors.Add(fallbackForegroundColor);
     if (foregroundColors != null)
     {
         ForegroundRgbColors.AddRange(foregroundColors);
     }
 }
 /// <summary>
 /// Initialzies a new instance of the RepeatedColorConsoleStyle class.
 /// </summary>
 /// <param name="foregroundConsoleColor">The foreground console color.</param>
 /// <param name="foregroundRgbColor">The foreground RGB color.</param>
 /// <param name="backgroundConsoleColors">The background console colors.</param>
 /// <param name="backgroundRgbColors">The background RGB colors.</param>
 public RepeatedColorConsoleStyle(ConsoleColor foregroundConsoleColor, Color foregroundRgbColor, IEnumerable <ConsoleColor> backgroundConsoleColors, IEnumerable <Color> backgroundRgbColors)
 {
     ForegroundConsoleColors.Add(foregroundConsoleColor);
     ForegroundRgbColors.Add(foregroundRgbColor);
     if (backgroundConsoleColors != null)
     {
         BackgroundConsoleColors.AddRange(backgroundConsoleColors);
     }
     if (backgroundRgbColors != null)
     {
         BackgroundRgbColors.AddRange(backgroundRgbColors);
     }
 }