First, make sure you’ve installed these:

sudo apt install gnome-tweak-tool
sudo apt install gnome-shell-extensions
sudo apt install chrome-gnome-shell

Then install:

https://extensions.gnome.org/extension/1276/night-light-slider/

 

screenshot_1276_xr8wRZ7