Up

Module Color_print = Async_color_print

Signature

val normal : string -> string
val bold : ?override:bool -> string -> string
val underline : ?override:bool -> string -> string
val inverse : ?override:bool -> string -> string
val red : ?override:bool -> string -> string
val yellow : ?override:bool -> string -> string
val green : ?override:bool -> string -> string
val blue : ?override:bool -> string -> string
val magenta : ?override:bool -> string -> string
val cyan : ?override:bool -> string -> string
val gray : ?override:bool -> string -> brightness:float -> string
val rgb : ?override:bool -> string -> r:float -> g:float -> b:float -> string
type color = [
| `Black
| `Gray
| `Light_gray
| `White
| `Dark_red
| `Red
| `Pink
| `Light_pink
| `Orange
| `Amber
| `Dark_yellow
| `Gold
| `Yellow
| `Khaki
| `Wheat
| `Chartreuse
| `Green_yellow
| `Dark_green
| `Green
| `Light_green
| `Bright_green
| `Spring_green
| `Medium_spring_green
| `Dark_cyan
| `Sea_green
| `Cyan
| `Turquoise
| `Pale_turquoise
| `Dodger_blue
| `Deep_sky_blue
| `Dark_blue
| `Blue
| `Light_slate_blue
| `Light_steel_blue
| `Blue_violet
| `Violet
| `Dark_magenta
| `Purple
| `Magenta
| `Orchid
| `Plum
| `Rose
| `Deep_pink
]
val bin_color : color Bin_prot.Type_class.t
val bin_read_color : color Bin_prot.Read.reader
val __bin_read_color__ : (int -> color) Bin_prot.Read.reader
val bin_reader_color : color Bin_prot.Type_class.reader
val bin_size_color : color Bin_prot.Size.sizer
val bin_write_color : color Bin_prot.Write.writer
val bin_writer_color : color Bin_prot.Type_class.writer
val color_of_sexp : Sexplib.Sexp.t -> color
val __color_of_sexp__ : Sexplib.Sexp.t -> color
val sexp_of_color : color -> Sexplib.Sexp.t
val color : ?override:bool -> string -> color:color -> string
val bold_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val underline_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val inverse_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val red_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val yellow_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val green_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val blue_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val magenta_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val cyan_sprintf : ?override:bool -> ('a, unit, string, string) Pervasives.format4 -> 'a
val gray_sprintf : ?override:bool -> brightness:float -> ('a, unit, string, string) Pervasives.format4 -> 'a
val rgb_sprintf : ?override:bool -> r:float -> g:float -> b:float -> ('a, unit, string, string) Pervasives.format4 -> 'a
val color_sprintf : ?override:bool -> color:color -> ('a, unit, string, string) Pervasives.format4 -> 'a
val bold_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val underline_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val inverse_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val red_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val yellow_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val green_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val blue_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val magenta_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val cyan_printf : ?override:bool -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val gray_printf : ?override:bool -> brightness:float -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val rgb_printf : ?override:bool -> r:float -> g:float -> b:float -> ('a, unit, string, unit) Pervasives.format4 -> 'a
val color_printf : ?override:bool -> color:Core_extended.Std.Color_print.color -> ('a, unit, string, unit) Pervasives.format4 -> 'a