Brian Dunning's FileMaker Custom Functions

hex_to_RGB.result ( hex_code )

"Hex Color Code" can be used for Button text. "RGB.result" can be used to set Field text using TextColor function.

  Be the first to rate this function Log in to vote

Tony White   Tony White - Show more from this author
Tony White Designs, Inc.
http://www.twdesigns.com/

Share on Facebook Share on Twitter

  Sample input:
hex_to_RGB.result ( "FFCCCC" )
  Sample output:
16764108

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

This Custom Function let you use a "Hex Color Code" for both the Button Text and the Text that you are formatting/colorizing in a Field.

See DIGFM: Fundamental Features for Fantastic FileMaker Files (4/14/2022)...
https://www.youtube.com/watch?v=57_NVxcoxl8&t=1006s (16:46)
...for details on this and more!

 

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: