I ask this as someone whose most recent project is bathed in a deep blue background, while posting on a site that is comfortably orange.
I ask this as someone whose most recent project is bathed in a deep blue background, while posting on a site that is comfortably orange.
Please please don't write grey on white. It's illegible. I have to ctrl+a all the time. Black on white, like most books. Also take into account that the user may disable websites picking their own fonts. I do this because I don't want to download them fonts for no apparent reason and because it's usually illegibly thin type. Thin type + #ddd color only helps in the process of becoming blind.
Off topic: while at it, I wish pages used the first screenful for more meaningful information.
You could put a switch to enable "night mode" for your website, but if your visitor knows about this problem he'll already have either f.lux installed, or native options enabled.
I don't think that shade of blue is that bad for your eyes. I for instance have a gradient between fuchsia and purple, and it's probably worse.
It’s better to make your design look good (I recommend lots of lightness contrast especially for text, and nothing too outrageously colorful), and leave minimizing blue light exposure to the user/browser/OS.
As long as it is is easy to disable said behaviour. Case in Point: My rather fancy and expensive Dell monitors have got a so called intelligent powersave mode where they automatically power down if there is no activity after a period of time. Unfortunately there is no way to disable this "intelligent" behaviour. Also unfortunately this behaviour is buggy (tested on more than 1 Dell monitor). I can be typing, playing a game or just browsing around and bang, monitor powers down. It turns out the underlying cause is the type of connection I am using to the monitor.
It turns out that this "intelligent" powersave is rather dumb, buggy and best of all can't be disabled because why would anyone ever not need this glorious new feature, right? /s
I actually made the decision to paint the header the same color as the body text. No idea how many people will view the site with flux on but since _I_ need to look at it a lot, I figured it was a good change to make.
In general I think its never a bad idea to reduce strain on the eyes of a user, reducing excessive contrast is one way to do it
I'm not a professional web designer Tho.