Ansi_text.Colorinclude module type of Colormodule Sgr8 : sig ... endmodule Rgb6 : sig ... endModels the rgb subset of the codes under "38;5" and "48;5".
module Gray24 : sig ... endModels the grayscale subset of the codes under "38;5" and "48;5".
module Rgb256 : sig ... endModels the rgb codes under "38;2" and "48;2".
include Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_compare_lib.Comparable.S__local with type t := tinclude Ppx_compare_lib.Equal.S with type t := tinclude Ppx_compare_lib.Equal.S__local with type t := tinclude Ppx_quickcheck_runtime.Quickcheckable.S with type t := tval quickcheck_generator : t Base_quickcheck.Generator.tval quickcheck_observer : t Base_quickcheck.Observer.tval quickcheck_shrinker : t Base_quickcheck.Shrinker.tinclude Sexplib0.Sexpable.S with type t := tinclude Sexplib0.Sexpable.Of_sexp with type t := tval t_of_sexp : Sexplib0.Sexp.t -> tinclude Sexplib0.Sexpable.Sexp_of with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tval to_fg_code : t -> int listval to_bg_code : t -> int listval to_ul_code : t -> int listval sgr8_exn : ?bright:bool -> int -> tGenerates a Standard or Bright color based on an integer 0-15.
val rgb6_exn : (int * int * int) -> tGenerates an Rgb6 color based on r, g, and b integers 0-5.
val gray24_exn : int -> tGenerates a Gray24 color based on an integer 232-255.
val rgb256_exn : (int * int * int) -> tGenerates an Rgb256 color based on r, g, and b integers 0-255.
val to_string_hum : t -> stringA somewhat human-readable name for a color.
val black : tval red : tval green : tval yellow : tval blue : tval magenta : tval cyan : tval white : tval gray : t