ColorModel.cs 551 B

1234567891011121314151617181920212223
  1. namespace Terminal.Gui.Drawing;
  2. /// <summary>
  3. /// Describes away of modelling color e.g. Hue
  4. /// Saturation 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. }