package patdiff

  1. Overview
  2. Docs
type t = private {
  1. r : int;
  2. g : int;
  3. b : int;
}

expected (0 ≤ r, g, b < 6)

val compare : t -> t -> 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 create_exn : r:int -> g:int -> b:int -> t