Go to the first, previous, next, last section, table of contents.

## Colormap

See section Resource, for additional methods on `Colormap` objects.

Method: Colormap free ( onerror = None )

Method: Colormap copy_colormap_and_free ( scr_cmap )
  Returns Colormap.

Method: Colormap install_colormap ( onerror = None )

Method: Colormap uninstall_colormap ( onerror = None )

Method: Colormap alloc_color ( red, green, blue )

Method: Colormap alloc_named_color ( name )
  Returns None or Card32('pixel'), Card16('exact_red'), Card16('exact_green'), Card16('exact_blue'), Card16('screen_red'), Card16('screen_green'), Card16('screen_blue'),

Method: Colormap alloc_color_cells ( contiguous, colors, planes )
  Returns List('pixels', Card32Obj), List('masks', Card32Obj),

Method: Colormap alloc_color_planes ( contiguous, colors, red, green, blue )
  Returns Card32('red_mask'), Card32('green_mask'), Card32('blue_mask'), List('pixels', Card32Obj),

Method: Colormap free_colors ( pixels, plane_mask, onerror = None )

Method: Colormap store_colors ( items, onerror = None )

Method: Colormap store_named_color ( name, pixel, flags, onerror = None )

Method: Colormap query_colors ( pixels )
  Returns List('colors', structs.RGB),

Method: Colormap lookup_color ( name )
  Returns Card16('exact_red'), Card16('exact_green'), Card16('exact_blue'), Card16('screen_red'), Card16('screen_green'), Card16('screen_blue'),

Go to the first, previous, next, last section, table of contents.