updated color values from magnitude array