Font color

You can change the color of the font with either the hex value representation of a number or using the color name. To change the color of the text, add <color=value></color> around the text you wish to color, where you place either the hex value (following a #) or color name where the word value appears.

Only a limited set of colors have names that can replace the hex values. The color names that are recognized are black, blue, brown, cyan, darkblue, green, grey, lightblue, lime, magenta, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow. You can also use aqua in place of cyan and fuchsia in place of magenta.

When using the color tag, any text not surrounded by the color tag will be colored based on the ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.