• The 'dim' comment colors bother me because I see comment as an integral part of the code. Useful comments let me write more concise code and complement it with the 'memory refresher' when 'returning to the code' times after authoring.

    To have some figures, I came across this contrast measurement tool, for which I applied current and suggested colors. Current values for brightness difference, color difference, and overall contrast ratio are 73, 212 and 3.03 with colors not foreground/background compliant. Difference values are only about 50% of level 2 compliance; expected are values >=125 and >=500. Values for Suggested 'purple-ish' color are 135, 468 and 6.38 with sort of foreground/background compliance.

    Having a color difference in addition to brightness difference provides additional contrast support for the eye. The eye's strengths are color in the center and brightness in the periphery.

About

Avatar for allObjects @allObjects started