Gimp.Palette.entry_get_color

@accepts(Gimp.Palette, int, Gimp.RGB)
@returns(bool)
def entry_get_color(self, entry_num, color):
    # Python wrapper for gimp_palette_entry_get_color()
  

Gets the color of an entry in the palette.

Returns the color of the entry at the given zero-based index into the palette. Returns an error when the index is out of range.

Since 2.2

self

The palette.

entry_num

The index of the entry to get the color of.

color

The color at the index.

Returns