PIXEL UI
ColorPicker

PIXEL.ColorPicker

Methods

The following methods are available on the PIXEL.ColorPicker panel:

PANEL:UpdateColor()

Recomputes the current color from hue/saturation/lightness values.

PANEL:SetColor( Color )

Sets the picker color and updates control positions.

PANEL:UpdatePositions()

Updates picker marker positions from the current HSL values.

number, number PANEL:GetCenter()

Returns the center point of the picker.

number PANEL:GetRadius()

Returns the outer radius of the picker.

number PANEL:GetTriangleRadius()

Returns the triangle radius used for saturation/lightness selection.

number PANEL:GetRingThickness()

Returns the hue ring thickness.

Color PANEL:GetHueColor()

Returns the pure hue color for the current hue angle.