package terml

  1. Overview
  2. Docs

Module Terml.ColorSource

Sourcetype t =
  1. | Black
  2. | DarkGrey
  3. | Red
  4. | DarkRed
  5. | Green
  6. | DarkGreen
  7. | Yellow
  8. | DarkYellow
  9. | Blue
  10. | DarkBlue
  11. | Magenta
  12. | DarkMagenta
  13. | Cyan
  14. | DarkCyan
  15. | White
  16. | Grey
  17. | Rgb of int * int * int
Sourceexception Invalid_color_format of string
Sourceexception Invalid_color_range of string
Sourceval ansii_of_color : t -> string
Sourceval is_ansi_color_disabled : unit -> bool
Sourceval from : string -> t