CLion 2016.2 Help

Color-Deficiency Adjustment

In this section:

Light editor schemes

To people with red-green color deficiency, green, red and their hues might look the same. In the default color scheme, red is reserved for the errors and green for the strings:

ij_colors_normal

The simulation below shows how the same code fragment will look for a person with green color deficiency. Strings, annotations and unknown symbols are all the same color. The wavy error underline is lighter and less noticeable:

ij_colors_simulation

The Adjust for color deficiency option changes colors so that they can be differentiated by a person with green or red color deficiency. Strings and annotations are shades of blue, and orange is reserved for the error states:

ij_colors_deficiency

Then, with the option Adjust for color deficiency turned on, and green color deficiency is selected, the simulation for the green color deficiency will look like the following:

ij_colors_simulation_green

Highlight for read/write states of identifiers at caret are well distinguished for the persons without color deficiency:

ij_colors_read_write_highlight

However, these states become indistinguishable for the persons with color deficiency:

ij_colors_read_write_highlight_simulation

With the Adjust for color deficiency option, the difference between read and write states remains visible. In the example below you see the green color deficiency simulation:

ij_colors_read_write_highlight_adjust

Folded text highlight in the default scheme is easily noticeable for the persons without color deficiency:

ij_colors_folded_normal

But this is a challenge for the persons with color deficiency - it is too light to notice:

ij_colors_folded_simulation

With the Adjust for color deficiency option it becomes noticeable:

ij_colors_folded_deficiency_adjust

Darcula scheme

The non-adjusted Darcula text looks as follows:

ij_colors_normal_darcula

The difference between the various elements of text is not noticeable for the persons with color deficiency:

ij_colors_simulation_darcula

Now turn on the option Adjust for color deficiency.

Compare the view of the editor for the persons without color deficiency:

ij_colors_normal_adjust_darcula

and that for the persons with color deficiency:

ij_colors_deficiency_adjust_darcula

Test runner adjustment

Colors of the test runner progress have also been adjusted. The usual progress bar color is indistinguishable for a person with green or red color deficiency. Compare the view of the test runner for the person without color deficiency:

ij_colors_test_normal

with that for the persons with color deficiency:

ij_colors_test_deficiency

Turn on the option Adjust for color deficiency, and compare the view of the test runner for the person without color deficiency:

ij_colors_test_normal_adjust

with that for a person with color deficiency:

ij_colors_test_deficiency_adjust

See Also

Last modified: 22 November 2016