Gimp.palette_entry_get_color
function palette_entry_get_color(name: String, entry_num: Number(gint)): [ok: Boolean, color: Gimp.RGB] {
// Gjs 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.
- ok
TRUE on success.
- color
The color requested.