Home  >  Q&A  >  body text

From a doctor's perspective, what is the healthiest color scheme for vim?

From a doctor’s perspective, what is the healthiest color scheme?
What principles should be followed for vim color matching?

From a medical point of view, is white text on a black background good?

PHP中文网PHP中文网2712 days ago841

reply all(6)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 16:39:00

    I remember that there is an answer to this question in HB. I have seen it before and I copied it for you. I also saw that everyone used black and thought it was cool, but it was not very comfortable for my eyes after looking at it for a long time. I also looked for related answers and I still agree with this. Very satisfied, you can take a look, the following is the copied content.
    The black theme looks cooler, and the contrast between the foreground and background is relatively high and clear. Moreover, the amount of black light emitted under the LCD is less.
    Then why do you say black hurts your eyes?
    We analyze from two aspects: color physiology and color psychology.

    1. In terms of the tension of human eye muscles, the damage caused by high contrast is greater than the damage caused by the amount of light.
      On the sunny grassland, although the amount of light is very large, it is very comfortable for human eyes.

    But in a dark room, the brightness of the mobile phone screen is adjusted to the lowest level, and the amount of light is much lower than the former, but it is still dazzling.
    This is caused by the effect of contrast.
    In the picture seen by the human eye, high contrast will cause greater damage.
    Especially programmers have to look at the screen for 8 hours, so a soft, low-contrast interface can make human eye muscles more relaxed.

    1. Dark adapted damage.
      Here is Baidu Encyclopedia’s explanation of dark adaptation: http://baike.baidu.com/view/344920.htm

    Human eyes see too many black interfaces and will feel dizzy when they turn to look at natural light environments.
    When you stare at a black theme for an hour, you will feel dizzy when you switch to the browser or turn to look at your colleagues.
    On the contrary, when you go from a bright environment to a black environment, your eyeballs also need to secrete rhodopsin to adapt. .
    Human eyes and brain must constantly adjust.

    1. Rhodopsin and vitamin A and night blindness
      Dark adaptation will cause the human eye to increase the secretion of rhodopsin, but the synthesis of rhodopsin requires vitamin A, that is, looking at dark surfaces for a long time will increase the consumption of vitamin A.

    Night blindness is caused by insufficient vitamin A and insufficient synthesis of rhodopsin.
    Even if you don’t have night blindness yet, you still need to prevent it.

    1. The human eye’s favorite light is yellow and green
      Yellow and green wavelengths are the most relaxing wavelengths for the human eye.

    The soft green background is warm yellow. Although the code color of the foreground is colorful, the G in the RGB of each color, that is, the green value, is turned up.

    1. From the perspective of color psychology, warm colors are more comfortable than dark colors.
      The scenery seen by the human eye will be associated by the brain, which in turn affects the mood.

    When you see green, you will think of grasslands and forests, and you will feel better unconsciously.
    Looking at dark or irritating colors for a long time can depress your mood.
    Looking at the screen for 8 hours a day is no small matter. It is important to feel comfortable.

    1. Lvrou design is not just a design theory, it is a scientifically verified result
      We have conducted brainwave fatigue value tests for different developers.

    After taking a full rest, the programmers participating in the experiment used green and black-themed programming tools for half an hour respectively, and monitored the changes in brain wave data.
    Through the analysis of 170,000 pieces of data generated by the experimenter's brain waves, and the fatigue value, tension and concentration values ​​printed out by the hospital equipment, the test subjects' fatigue levels increased after the experiment, but using Green Rouge The fatigue value of working programmers rises relatively slowly, the level of tension is the lowest, and the concentration is the most concentrated.
    The increase in fatigue value after using black theme coding reaches 700% of the increase using green soft code!

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-16 16:39:00

    Black makes me feel blind

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 16:39:00

    Personally I like the black background, it’s not dazzling day or night

    reply
    0
  • 迷茫

    迷茫2017-05-16 16:39:00

    sublime’s default monokai is very comfortable

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 16:39:00

    It should be a shit yellow color. . . It’s like using “Blu-ray removal” software like flux==

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-16 16:39:00

    reply
    0
  • Cancelreply