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.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: