Brian Dunning's FileMaker Custom Functions

colorTint ( color ; tint ; output )

Returns a colour tint of given hex colour

  Be the first to rate this function Log in to vote

Jonni™   Jonni™ - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
ColorTint ( "#7962a8" ; 50 ; "hex" )
  Sample output:
#BCB1D4

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

Calculates and returns a colour tint or chroma of given colour in HEX format. Tint is passed as a percentage value for the colour chroma to be returned with valid range between 0 - 100 passed as number only value.

Output can be a hexadecimal colour value or RGB values returned in a JSON array.

Written by: jonni@me.com
V 1.0

 

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