colors.py 584 B

12345678910111213141516171819202122232425262728293031
  1. """
  2. The following constants are defined to change TEXT colors:
  3. * :const:`RED`
  4. * :const:`GREEN`
  5. * :const:`AMBER`
  6. * :const:`DIM_RED`
  7. * :const:`DIM_GREEN`
  8. * :const:`BROWN`
  9. * :const:`ORANGE`
  10. * :const:`YELLOW`
  11. * :const:`RAINBOW_1`
  12. * :const:`RAINBOW_2`
  13. * :const:`COLOR_MIX`
  14. * :const:`AUTOCOLOR`
  15. """
  16. # Colors
  17. RED = "\x1C1"
  18. GREEN = "\x1C2"
  19. AMBER = "\x1C3"
  20. DIM_RED = "\x1C4"
  21. DIM_GREEN = "\x1C5"
  22. BROWN = "\x1C6"
  23. ORANGE = "\x1C7"
  24. YELLOW = "\x1C8"
  25. RAINBOW_1 = "\x1C9"
  26. RAINBOW_2 = "\x1CA"
  27. COLOR_MIX = "\x1CB"
  28. AUTOCOLOR = "\x1CC"
  29. # TODO(ms): need support for RGB colors