今天,我们有几个用于编程的 IDE/编辑器:Visual Studios、vim、gvim、emacs、eclipse 等。无论我们使用什么,我们对背景和前景都有一些颜色偏好。虽然我们大多数人对默认设置感到满意,但有些人确实自定义了 IDE/编辑器,为各种标签/名称/文本选择自己喜欢的颜色。
所以我主要想知道,颜色偏好会对我们的眼睛产生不利影响吗?您认为应该为各种标签/名称/文本选择什么最佳配色方案(对眼睛健康)?
我最喜欢的配色方案是:
Background : Black
Text : White (only variables are white)
Classes : Dodger Blue
Macros : Pink
Interfaces : Dodger Blue (slightly dark)
Method : Orangish Red
Strings Literals : Scarlet Red
现在,我非常担心这个问题。如果有一些建议(经过一些研究),请告诉我。 :-)
PS:我不是在寻找个人意见,而是通过一些研究得出的建议!
最佳答案
这是 9 页的 pdf 摘要。
The Effects of Computer Use on Eye Health and Vision
The color of computer screen characters may also affect their ease of visibility. The color of the characters can affect how the eyes focus on the screen and may bring about the development of harmless, but annoying, after-images for some individuals. Monochrome, or single color, displays often provide more legible images for word processing or data entry/acquisition tasks. Negative contrast computer displays (dark letters on a light background) generally provide a more legible image than positive contrast displays (light letters on a dark background). Either black characters on a white background or white characters on a black background have been found to be more visible than green, yellow-orange, blue or red characters. 20
摘要由很多hand-waving组成,但用于创建摘要的来源可能会根据研究提出一些建议,
关于visual-studio - IDE/文本编辑器颜色设置对我们眼睛的影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4508643/