Brian Dunning's FileMaker Custom Functions

Color ( Text )

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

  Average rating: 3.9 (39 votes) Log in to vote

Geoff Coffey   Geoff Coffey

Share on Facebook Share on Twitter

  Sample input:
Color ( "blue" )
  Sample output:
255

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

Simple Colors contains a function called Color that takes a single text parameter. It is an alternative to FM7's built-in RGB function. 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 or named colors).

 

Comments

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.