ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Color assistance

Last modified: 21 July 2022

ReSharper provides a set of features that help you work with color definitions in your code.

Any color value is underlined with the corresponding color, no matter how the color is defined. If you hover the pointer over the color value, you can check the color value in other formats:

Color assistance

Colors are also visualized in the completion list:

Colors in the completion auto-popup

Whenever you see a highlighted color definition, you can change it using the dedicated visual editor.

By default, ReSharper highlights color usages, but you can turn this off by clearing the Highlight color usages checkbox on the Code Inspection | Settings page of ReSharper options.

This feature is supported in the following languages and technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by language section.