OSDN Git Service

merge src/ and test/ at driver/
[happyabc/happyabc.git] / driver / color.mli
1 type t = {red:int; green:int; blue:int; alpha:float}
2 exception Invalid_format of string
3
4 val red : t
5 val lime  : t
6 val blue  : t
7 val white  : t
8 val maroon  : t
9 val green   : t
10 val navy  : t
11 val silver  : t
12 val yellow  : t
13 val aqua  : t
14 val fuchsia  : t
15 val gray  : t
16 val olive  : t
17 val teal  : t
18 val purple  : t
19 val black  : t
20
21 val parse : string -> t
22 val of_int : int -> t
23 val to_int : t   -> int
24 val rgb : int -> int -> int -> t