ColorModel.cs 564 B

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