package incr_dom_widgets

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val __bin_read_t__ : (int -> t) Core_kernel.Bin_prot.Read.reader
val compare : t -> t -> int
val create : r:int -> g:int -> b:int -> ?a:Core_kernel.Percent.t -> unit -> t

create ~r ~g ~b ~a creates a color that corresponds to rgba(r,g,b,a)

If a is omitted then it creates a color that corresponds to rgb(r,g,b)