Use up-to-date RGB values in color temperature and illuminance calculation

Before the last values were used which are only updated if the color
collback is enabled.