DearDiary#0035

Sites with sophisticated UI often excel in the use of box-shadow and opacity. Are they adjusting colors by intuition or through meticulous calculations?