color

Converts between different color formats
README

Library that converts between different color formats. Right now it deals with
HSL, HSLA, RGB and RGBA formats.

The goal for this library is to provide easy handling of colors on the web, when working
with js_of_ocaml.

Examples

# Color.to_hexstring (Color.of_rgb 12 121 229);;
- : "#0c79e5"

Credit

Based on purescript-colors

Install
Published
08 Jul 2018
Sources
color-0.1.0.tbz
md5=4ac5149866995836893a7dd26224ed1a
Dependencies
alcotest
with-test
jbuilder
>= "1.0+beta14"
ocaml
>= "4.06.0"
Reverse Dependencies