Module Color.Rgba
Colormap for RGBA
include S with type t = rgba
type t
= rgba
val find_exact : t map -> t -> int
Find the given color in the colormap and returns the color index.
Not_found
may be raised.
val add_color : t map -> t -> int
add_color map c
addsc
tomap
ifc
is not inmap
. The function returns the color index forc
. It may raiseToo_many_colors
.