# GimpUi.ColorSelector.prototype.set_format

    function set_format(format: Babl.Object): void {
        // Gjs wrapper for gimp_color_selector_set_format()
    }

Sets the babl format representing the color model and the space this selector is supposed to display values for. Depending on the type of color selector, it may trigger various UX changes, or none at all.

Since 3.0

format

  a Babl format, with space.