P.Color
From GMod Wiki
General Description
This is a color picker panel.
Base: Panel
TODO (TheJ89): Is this the actual panel it inherits from?
Keyvalues
- Label - Sets the text that appears above the color picker.
- Red - The convar that the red value of the color picker is linked to.
- Green - The convar that the green value of the color picker is linked to.
- Blue - The convar that the blue value of the color picker is linked to.
- Alpha - The convar that the alpha value of the color picker is linked to (if applicant).
- ShowAlpha - Can be "0" or "1". If it's "0", then the alpha bar of the color picker is hidden.
- ShowHSV - Can be "0" or "1". If it's "0", the multi-colored moon you can pick the color from is hidden.
- ShowRGB - Can be "0" or "1". If it's "0", the red, green, and blue bars are hidden.
- Multiplier - This should be "255" in most cases. This is how much the red, green, blue, and alpha values are multiplied by before setting the convars. The red, green, blue, and alpha values range from 0 to 1 before being multiplied by the multiplier.