package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations on colors.

type t = int * int * int

An RGB8 color (values of components should be between 0 and 255).

val of_int : int -> t

Decode a color stored as RGB.

val to_int : t -> int
OCaml

Innovation. Community. Security.