How it works
Undertone — every paint color is a mix of pigments: a dominant tone plus hidden ones ("undertone").
Warm light (2200–3000 K) amplifies the red-yellow part of the undertone — the paint turns warmer and yellower.
Cool light (5000–6500 K) pulls out the blue-grey part — the paint turns cooler and greyer.
Metamerism — two different colors can match under one lamp and split apart under another.
Math: color = paint spectrum × lamp spectrum (product rule); brightness comes from power, the spot from the beam angle.