gimp.get_foreground() gimp.set_foreground(r, g, b)
General functions:
gimp.image_list() gimp.quit() gimp.displays_flush()