# Gimp.param_spec_rgb

    function param_spec_rgb(name: String, nick: String, blurb: String, has_alpha: Boolean, default_value: Gimp.RGB, flags: GObject.ParamFlags): GObject.ParamSpec {
        // Gjs wrapper for gimp_param_spec_rgb()
    }

Creates a param spec to hold an Gimp.RGB value. See g_param_spec_internal() for more information.

Since 2.4

name

  Canonical name of the param

nick

  Nickname of the param

blurb

  Brief description of param.

has_alpha

  true if the alpha channel has relevance.

default_value

  Value to use if none is assigned.

flags

  a combination of GObject.ParamFlags

Returns

  a newly allocated GObject.ParamSpec instance