Brian Dunning's FileMaker Custom Functions

NamedColor ( colorname )

Allows you to use CSS colornames instead of RGB() function

  Average rating: 4.4 (30 votes) Log in to vote

Theo Ros   Theo Ros

Share on Facebook Share on Twitter

  Sample input:
TextColor ( "Plaid" ; NamedColor ( "Red" ) )
  Sample output:
returns the word "Plaid" in red

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Use a color name to specify a color in FileMaker rather than RGB values.

Instead of specifying a color with separate Red, Green, and Blue values,
you can use some of the typical CSS web color specifications
(six-digit hex prefixed with "#" or named colors).

This function does the same as Geoff Coffey's Color(), but is faster
because it does not use a long series of Case tests.

Return type: Number



Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.