package ecaml

  1. Overview
  2. Docs

Module Color.RGBSource

Sourcetype t = {
  1. r : int;
  2. g : int;
  3. b : int;
}

We've observed that r, g, and b are in the range 0, 65_535.

Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval max_value : int
Sourceval min_value : int
Sourceval map : t -> f:(int -> int) -> t