Gimp.palette_entry_get_color

@accepts(unicode, int, Gimp.RGB)
@returns(bool)
def palette_entry_get_color(name, entry_num, color):
    # Python wrapper for gimp_palette_entry_get_color()
  

Gets the specified palette entry from the specified palette.

This procedure retrieves the color of the zero-based entry specified for the specified palette. It returns an error if the entry does not exist.

Since 2.2

name

The palette name.

entry_num

The entry to retrieve.

color

The color requested.

Returns