first value mapping calculations, some problem with merging color
values with lightness at the moment