package mechaml

  1. Overview
  2. Docs

Module Format.ColorSource

include S
Sourcetype t
Sourceval to_string : t -> string
Sourceval make : red:int -> green:int -> blue:int -> t option

Create a color representation from its red, green and blue components. Arguments must lie between 0 and 255 included, otherwise None is returned