Skip to main content
A color picker chooses a colour and, if you want it, an alpha. Drag the map and bars, or type into the fields.
An open color picker with map, hue and alpha bars
Color pickers are full-width and live at the tab level. Create them directly on the tab, not inside a group.

Properties

name
string
The label.
description
string
Hint text under the label. Optional.
icon
string | number
An icon shown beside the label. Optional.
color
Color3 | string
The initial colour. A hex string is accepted.
alpha
number
default:"1"
The initial alpha, from 0 to 1.
flag
string
default:"name"
The save key. Colour and alpha both persist. Optional.
forgetState
boolean
default:"false"
Skip saving.
callback
function
Runs with (color, alpha) on every change.

Handle

.value
Color3
The current colour.
.alpha
number
The current alpha.
Set(color, skipCallback?)
Set the colour.
SetAlpha(alpha, skipCallback?)
Set the alpha.