Color control with an absorption sensor