Name: colorNames

Type: function

Syntax: the colorNames

Syntax: colorNames()

Summary: <return|Returns> a list of the color names you can use in <Revolution|LiveCode>.

Introduced: 1.0

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Example:
the colorNames

Example:
if field "Color" is not among the lines of the colorNames then beep

Returns: The <colorNames> function <return|returns> a list of color names, one per line.

Description:
Use the <colorNames> <property> to check whether a particular color name can be used to specify <properties> such as <foregroundColor> and <backgroundColor>.

You can use the color names with the foregroundColor, <backgroundColor>, <focusColor>, <topColor>, <bottomColor>, <hiliteColor>, <borderColor>, <shadowColor>, <selectionHandleColor>, <accentColor>, <backdrop>, <brushColor>, and <penColor> <properties>.

References: hiliteColor (property), shadowColor (property), foregroundColor (property), linkHiliteColor (property), HTMLText (property), borderColor (property), penColor (property), focusColor (property), brushColor (property), properties (property), backdrop (property), bottomColor (property), backgroundColor (property), accentColor (property), topColor (property), linkColor (property), selectionHandleColor (property), is a (operator), answer color (command), propertyNames (function), functionNames (function), property (glossary), Revolution (glossary), return (glossary)

Tags: ui
