package spectrum

  1. Overview
  2. Docs
exception InvalidTag of string
exception InvalidStyleName of string
exception InvalidColorName of string
exception InvalidHexColor of string
exception InvalidRgbColor of string
exception InvalidPercentage of string
exception InvalidQualifier of string
exception Eof
val name_to_ansi_style : string -> string
val name_to_xterm_color : string -> string
val fg_from_name : string -> string
val bg_from_name : string -> string
val from_hex : string -> string
val fg_from_hex : string -> string
val bg_from_hex : string -> string
val parse_int_256 : string -> int
val from_rgb : string -> string -> string -> string
val fg_from_rgb : string -> string -> string -> string
val bg_from_rgb : string -> string -> string -> string
val parse_float_percent : string -> float
val from_hsl : string -> string -> string -> string
val fg_from_hsl : string -> string -> string -> string
val bg_from_hsl : string -> string -> string -> string
val qualified : 'a -> 'a -> string option -> 'a
val qualified_color_from_name : string option -> string -> string
val qualified_color_from_hex : string option -> string -> string
val qualified_color_from_rgb : string option -> string -> string -> string -> string
val qualified_color_from_hsl : string option -> string -> string -> string -> string
val __ocaml_lex_tables : Stdlib.Lexing.lex_tables
val to_code : Lexing.lexbuf -> string
val __ocaml_lex_to_code_rec : Lexing.lexbuf -> int -> string
val parse_one : Lexing.lexbuf -> string option
val parse : Lexing.lexbuf -> string list
val tag_to_code : string -> (string, exn) result
OCaml

Innovation. Community. Security.