package ocolor

  1. Overview
  2. Docs
Print with style in your terminal using Format's semantic tags

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.1.tar.gz
md5=094b701f30af41b89f554e978cb0762c
sha512=b558fb735d28c262b0cf047835df2bc59e89daf44fbaf55b3d73293457713cb2a45805965f4bd6aafac1e7bc6325b3e70ec59d3e4a096b25e99072fee68ac8ce

doc/ocolor/Ocolor_x11/index.html

Module Ocolor_x11

val color_of_string : string -> Ocolor_types.rgb option

Get the color code (24 bits) of the given name. None if it does not exists.

val string_of_color : Ocolor_types.rgb -> string option

Get the name of a color code (24 bits) None if not found.

val available_colors : (string * Ocolor_types.rgb) list

Set of avaiable colors name, without prefix, or anything.