colorNames | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
Changes | In LiveCode 8.1 the Gray1-100 colors were corrected to match the shades of gray from the X11 color names. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Property: hiliteColor, shadowColor, foregroundColor, linkHiliteColor, HTMLText, borderColor, penColor, focusColor, brushColor, properties, backdrop, bottomColor, backgroundColor, accentColor, topColor, linkColor, selectionHandleColor Operator: is a Command: answer color Function: propertyNames, functionNames Glossary: property, LiveCode, return | ||||||
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. | ||||||
Tags | ui |