I formerly used and liked f.lux, which dims the blue on the computer monitor at night. But the recent versions are far too aggressive and my eyes and head hurt when I use it...so I end up just disabling it each night. There are settings to customize it, but I just haven't take the time to mess with it.
On my Android phone, I sometimes use Twilight.