package graphv_core_lib

  1. Overview
  2. Docs

Module Graphv_core_lib.ColorSource

Sourcetype t = {
  1. r : float;
  2. g : float;
  3. b : float;
  4. a : float;
}
Sourceval premultiply : t -> t
Sourceval rgbaf : r:float -> g:float -> b:float -> a:float -> t
Sourceval rgbf : r:float -> g:float -> b:float -> t
Sourceval rgba : r:int -> g:int -> b:int -> a:int -> t
Sourceval rgb : r:int -> g:int -> b:int -> t
Sourceval white : t
Sourceval black : t
Sourceval transparent : t
Sourceval lerp : t -> t -> a:float -> t
Sourceval clamp : float -> float -> float -> float
Sourceval transf : t -> float -> t
Sourceval trans : t -> int -> t
Sourceval hue : float -> float -> float -> float
Sourceval hsl : h:float -> s:float -> l:float -> t
Sourceval hsla : h:float -> s:float -> l:float -> a:int -> t
OCaml

Innovation. Community. Security.