ColorGroup.NamedColor

From Xojo Documentation

Shared Method

ColorGroup.NamedColor(name as Text) As Color

New in 2019r3

Supported for all project types and targets.

Returns the specified named color.

Notes

Raises these exceptions:

Sample Code

Set the label color:

Me.TextColor = ColorGroup.NamedColor("labelColor")