package ansifmt

  1. Overview
  2. Docs

Module Color.Rgb

Functions to deal with RGB colors.

val regular_expression : Re.re

The regular expression used to parse RGB colors.

val parse : string -> [> `Rgb of int * int * int ] option

parse string attempts to find a serialized RGB color in the string.