Gimp.context_get_background

function context_get_background(): [ok: Boolean, background: Gimp.RGB] {
    // Gjs wrapper for gimp_context_get_background()
}
  

Get the current GIMP background color.

Returns the current GIMP background color. The background color is used in a variety of tools such as blending, erasing (with non-alpha images), and image filling.

Since 2.2

ok

TRUE on success.

background

The background color.