package stdune

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

Module Ansi_color.RGB8Source

Sourcetype t

8 bit RGB color

Sourceval to_int : t -> int

RGB8.to_int t returns the int value of t as an 8 bit integer.

Sourceval of_int : int -> t

RGB8.of_int i creates an RGB8.t from an int considered as an 8 bit integer. The first 24 bits are discarded.

Sourceval of_char : char -> t

RGB8.of_char c creates an RGB8.t from a char considered as an 8 bit integer.

Sourceval to_char : t -> char

RGB8.to_char t returns the char value of t considered as an 8 bit integer.

OCaml

Innovation. Community. Security.