HexToRGBspecial ( Hex ; Output )
Converts Hex into RGB value showing, R, G, or B depending on
Average rating: 4.1 (30 votes) Log in to vote
HexToRGBspecial ( #08530E ; "green" )HexToRGBspecial ( #08530E ; "blue" )
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Converts a hexideciaml value to individual red, green and blue values based upon your selection for output. Ths allows you to separate each color into an individual field. Simply put "red", "Green", or "Blue" as the ouput and only that color's value will appear in the output of the function. This is great for sending values to FileMaker's text formatting functions for changing text color!
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.