hexadecimal colour calculation

based on a colour in hex notation, calculates tints and their respective complementaries.

calculate tint