Brian Dunning's FileMaker Custom Functions

color_convert_decimal ( color_decimal ; output_format )

convert FileMaker decimal color format to r, g, b, rgb or hex

  Average rating: 2.7 (3 votes) Log in to vote

Thomas Siebert   Thomas Siebert - Show more from this author
http://www.t-seabird.de

Share on Facebook Share on Twitter

  Sample input:
color_convert_decimal ( 16762968 ; "r" )

color_convert_decimal ( 16762968 ; "g" )

color_convert_decimal ( 16762968 ; "b" )

color_convert_decimal ( 16762968 ; "hex" )

color_convert_decimal ( 16762968 ; "rgb" )
  Sample output:
255

200

88

FFC858

255¶200¶88

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

convert decimal FileMaker Color format to:

output_format = r, g, b, rgb or hex

 

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 15 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:

Under construction. Email me your wish list for improvements.