Night Shift is another display feature on macOS, introduced in macOS Sierra. It adjusts your screen’s brightness and color temperature automatically from cold to warm, as the day progresses, to ease the strain on your eyes.
It reduces blue light gradually during the day. You can turn Mac night mode on from the same Display panel used to enable Dark Mode.