ColorModel.cs 611 B

123456789101112131415161718192021222324
  1. // ReSharper disable InconsistentNaming
  2. namespace Terminal.Gui.Drawing;
  3. /// <summary>
  4. /// Describes a way of modelling color e.g. Hue, Saturation, and Lightness.
  5. /// </summary>
  6. public enum ColorModel
  7. {
  8. /// <summary>
  9. /// Color modelled by storing Red, Green and Blue as (0-255) ints
  10. /// </summary>
  11. RGB,
  12. /// <summary>
  13. /// Color modelled by storing Hue (360 degrees), Saturation (100%) and Value (100%)
  14. /// </summary>
  15. HSV,
  16. /// <summary>
  17. /// Color modelled by storing Hue (360 degrees), Saturation (100%) and Lightness (100%)
  18. /// </summary>
  19. HSL
  20. }