Gtk.ColorButton.prototype.get_use_alpha

function get_use_alpha():Boolean {
    // Gjs wrapper for gtk_color_button_get_use_alpha()
}

Does the color selection dialog use the alpha channel ?

Since 2.4

Returns

true if the color sample uses alpha channel, false if not