If you want to calculate a darker or lighter color based on an input colour, this post describes how you can carry out this task with the help of the ColorFade function.