Skip to main content

ValueColorPicker

This item only works when running on the client. Client

Picker for value in HSV. See HSVColorPicker for usage.

Functions

SetSize

ValueColorPicker:SetSize(heightnumber) → ()

Sets the size (height) of the value color picker

HintBackgroundColor

ValueColorPicker:HintBackgroundColor(colorColor3) → ()

Hints what the background color should be to ensure contrast

SetHSVColor

ValueColorPicker:SetHSVColor(hsvColorVector3) → ()

Sets the HSV Color for the value picker

GetHSVColor

ValueColorPicker:GetHSVColor() → Vector3

Returns the HSV color3

SetColor

ValueColorPicker:SetColor(colorColor3) → ()

Setes the current color

GetColor

ValueColorPicker:GetColor() → Color3

Gets the current color

Show raw api
{
    "functions": [
        {
            "name": "SetSize",
            "desc": "Sets the size (height) of the value color picker",
            "params": [
                {
                    "name": "height",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 110,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        },
        {
            "name": "HintBackgroundColor",
            "desc": "Hints what the background color should be to ensure contrast",
            "params": [
                {
                    "name": "color",
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 121,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        },
        {
            "name": "SetHSVColor",
            "desc": "Sets the HSV Color for the value picker",
            "params": [
                {
                    "name": "hsvColor",
                    "desc": "",
                    "lua_type": "Vector3"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 134,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        },
        {
            "name": "GetHSVColor",
            "desc": "Returns the HSV color3",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Vector3"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 145,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        },
        {
            "name": "SetColor",
            "desc": "Setes the current color",
            "params": [
                {
                    "name": "color",
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 154,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        },
        {
            "name": "GetColor",
            "desc": "Gets the current color",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Color3\n"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 162,
                "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "ValueColorPicker",
    "desc": "Picker for value in HSV. See [HSVColorPicker] for usage.",
    "realm": [
        "Client"
    ],
    "source": {
        "line": 7,
        "path": "src/colorpicker/src/Client/HSV/ValueColorPicker.lua"
    }
}