ColorExtensions extension

on

Methods

darken([double amount = 0.1]) Color
This will return the darker color of current amount must be between 0 & 1
lighten([double amount = 0.1]) Color
This will return the lighter color of current amount must be between 0 & 1