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
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.

Under construction. Email me your wish list for improvements.