webkit-linear-gradient :: Setting Relative Colors With Javascript My goal is to retain the same distance between the colors by any given color.