Gimp.Scanner.prototype.parse_color

function parse_color(): [ok: Boolean, color: Gegl.Color] {
    // Gjs wrapper for gimp_scanner_parse_color()
}
  

Since 2.4

ok

true on success

color

Pointer to a color to store the result