Earlier quoted context omitted.
Windows 10 has this built-in, so does macOS.
I've been a flux user for years, but sadly I had to switch to the Windows 10's version. Flux causes a 1 frame lag every 60 frames which was driving me crazy. Only fix was to put it into Safe Mode, but Flux is really janky in that mode; especially when alt tabbing. The Windows 10 version also has no lag while shift colors. It's a shame. I'd love to have kept supporting flux.
Since our update last year (v4) f.lux stopped doing this and does a lot of other tricks to reduce impact on framerates too.