Calculate Color Percentage colorToPercentage(starthex,endhex,percent)