PIXEL.ColorPicker
- Base panel:
Panel(opens in a new tab) - Source: cl_color_picker.lua (opens in a new tab)
- Description: PIXEL color picker panel with hue/value controls.
Methods
The following methods are available on the PIXEL.ColorPicker panel:
PANEL:UpdateColor()Recomputes the current color from hue/saturation/lightness values.
PANEL:UpdatePositions()Updates picker marker positions from the current HSL values.
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.