package terml

  1. Overview
  2. Docs
type 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
exception Invalid_color_format of string
exception Invalid_color_range of string
val ansii_of_color : t -> string
val is_ansi_color_disabled : unit -> bool
val from : string -> t
OCaml

Innovation. Community. Security.