Color.rgba Color.map ->
object
  method add_color : Color.rgba -> int
  method add_colors : Color.rgba list -> int list
  method colormap : Color.rgba Color.map
  method find_exact : Color.rgba -> int
  method find_nearest : Color.rgba -> int
  method map : Color.rgba array
  method max : int
  method query_color : int -> Color.rgba
  method set_map : Color.rgba array -> unit
  method set_max : int -> unit
  method size : int
end