# Gimp.palette_add_entry

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

Adds a palette entry to the specified palette.

This procedure adds an entry to the specified palette. It returns an error if the entry palette does not exist.

Since 2.2

name

  The palette name.

entry_name

  The name of the entry.

color

  The new entry's color color.

entry_num

  The index of the added entry.

Returns