Sign In

$isNamedColor[]

Checks whether a given color name exists in the named color list.

v1.1.0+ Requires Brackets

Usage

$isNamedColor[]
Also callable as
$isColorName

Arguments

NameTypeRequiredDescription
name
StringYesThe color name to check.

Output

Boolean

Was this page helpful?