GrayScale ( color )
Returns the given color turned to grey as compound RGB color
Average rating: 4.3 (31 votes) Log in to vote
Theo Ros - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns the given color turned to grey as compound RGB color.
This function calculates the value as 'TRUE' (Photographic) gray
In: color - the compound color to calculate the greyscale from
GrayScale ( RGB ( 64 ; 92 ; 128 ) ) --> 5789784
Note: Calculations in this formula are in Dutch numberformat (decimal COMMA). Change this if your regional settings use decimal POINTS.
Theo Ros
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.