package pixel_pusher

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. r : int;
  2. g : int;
  3. b : int;
}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val b : t -> int
val g : t -> int
val r : t -> int
module Fields : sig ... end
val rand : unit -> t
val black : t
val white : t
val green : t
val red : t
val blue : t
val purple : t
val of_hex_int : int -> t
val to_gl : t -> float * float * float
val of_gl : (float * float * float) -> t
val to_string : t -> string
val shade : t -> factor:float -> t
val of_string : string -> t
OCaml

Innovation. Community. Security.