Not really what you were asking but I thought I'd throw it out there anyway.
On an iPhone, Settings > Accessibility > Display & Text Size > Color Filter > Select Color Tint > Select Deep Red > Intensity 100% & Hue 100%.
Go back to Accessibility and select Accessibility Shortcut > Select Color Filters.
When I'm reading in bed, I triple press the right button and it turns my red filter on. I've noticed a significant decrease in eye strain and I find it doesn't keep me up at night.
I know that is counter to this post, but it works for me so might be worth a try.