TextSetFontColor @Command (Formula Language)

Displays selected or subsequently entered text using the specified color.


@Command( [TextSetFontColor] ; [ color ] )


[ color ]

The name of the color you want your text to be. The available colors are:

  • Black
  • Gray
  • Red
  • DarkRed
  • Green
  • DarkGreen
  • Blue
  • DarkBlue
  • Magenta
  • DarkMagenta
  • Yellow
  • Brown
  • Cyan
  • DarkCyan
  • White


  • A document must be open in Edit mode with the insertion point in a rich text field


  • A form, subform, or page must be open in Design mode

It is most convenient to use a toolbar button to invoke this command if the text is already selected

This command does not work on the Web.


This formula sets the text color to dark cyan.
@Command([TextSetFontColor]; [DarkCyan])