Luxar Viewer API Documentation - v2026.9.22
GitHub
Preparing search index...
ui/rendering-controls/controls-utils
isValidColor
Function isValidColor
isValidColor
(
color
:
string
)
:
boolean
Checks if a color string is valid
Parameters
color
:
string
Color string to validate
Returns
boolean
True if valid hex color or CSS color
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Luxar Viewer API Documentation - v2026.9.22
Loading...
Checks if a color string is valid