This is a simple color picker [Control]. It's useful for selecting a color from an RGB/RGBA colorspace.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<methodname="add_preset">
<returntype="void">
</return>
<argumentindex="0"name="color"type="Color">
</argument>
<description>
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker.
</description>
</method>
<methodname="get_pick_color"qualifiers="const">
<returntype="Color">
</return>
<description>
Gets the current color.
</description>
</method>
<methodname="is_editing_alpha"qualifiers="const">
<returntype="bool">
</return>
<description>
Returns whether the color has transparency or not.
</description>
</method>
<methodname="is_raw_mode"qualifiers="const">
<returntype="bool">
</return>
<description>
Returns whether this color picker is in raw mode or not, raw mode will allow the color R, G, B component values to go beyond 1, you have to consider that the max value for color components is 1, going beyond that value will not have effect in the color, but can be used for special operations that require it (like tinting without darkening or rendering sprites in HDR).
</description>
</method>
<methodname="set_edit_alpha">
<returntype="void">
</return>
<argumentindex="0"name="show"type="bool">
</argument>
<description>
Set true if you want the color to have an alpha channel (transparency), or false if you want a solid color.
</description>
</method>
<methodname="set_pick_color">
<returntype="void">
</return>
<argumentindex="0"name="color"type="Color">
</argument>
<description>
Select the current color.
</description>
</method>
<methodname="set_raw_mode">
<returntype="void">
</return>
<argumentindex="0"name="mode"type="bool">
</argument>
<description>
Set whether this color picker is using raw mode or not, see [method is_raw_mode].