TextColor
 
Purpose 
Changes the color of text to the color specified by the RGB function.
Format 
TextColor(text;RGB(red;green;blue))
Parameters 
text - any text expression or text field
RGB(red;green;blue) - any integer from 0 to 16777215 obtained by combining the red, green, and blue values (each ranging from 0 to 255) to represent a color
Data type returned 
text
Originated in 
FileMaker Pro 7.0
Description 
Use this function to change the color of text.
Note  Text formatting options will be lost if the field type that is returned is something other than text.
Tip  To determine the RGB value of a color, in Layout mode, click the Fill color palette in the formatting bar and choose Other Color. Values are shown for each of the basic colors. In OS X, select the Color Sliders tab. Choose RGB Sliders from the list.
Examples 
TextColor(“Plaid”;RGB(255;0;0)) returns the word Plaid in red.
TextColor(“Plaid”;RGB(0;255;0)) returns the word Plaid in green.
TextColor(“Plaid”;RGB(0;0;255)) returns the word Plaid in blue.
TextColor(“Plaid”;RGB(0;0;0)) returns the word Plaid in black.
TextSize( TextFont( TextColor( MyTable::MyText; RGB( 0 ; 125 ; 125 ) ); "Courier" ) ; 12) returns the text contained in MyTable::MyText formatted as 12pt. green text with the Courier font.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas