Brian Dunning's FileMaker Custom Functions

HexC2DecC ( Hex )

Convert six character hexadecimal color into integer

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

Christopher Gauntt   Christopher Gauntt
Cordega Solutions

Share on Facebook Share on Twitter

  Sample input:
HexC2DecC (000000)
HexC2DecC (024EBA)
  Sample output:

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

Returns an integer that represents a color obtained by converting standard 6 character hexadecimal input. Useful if you don't need to know the actual RGB values)
Hex = Hexadecimal input. Handles inputs containing leading/trailing spaces and/or # symbol. Self-contained. No external or self-calls.



Guy Wetzel   Guy Wetzel, St. George, UT
Jun 2, 2014
Awesome, worked perfectly first try.

Log in to post comments.


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

Under construction. Email me your wish list for improvements.