ReSharper Web Help

ReSharper provides some special highlighting for colors. Any color value is underlined with a respective color, no matter how the color is defined. When you hover the pointer over the color value, a tooltip appears.

To highlight color usages
  1. On the main menu, choose ReSharper | Options.
  2. The Options dialog box opens. Click Settings on the left pane of the dialog.
  3. Select the Highlight color usages check box on the Settings pane.
  4. Click Save or Save To to apply changes.
To change color value using select color dialog box
  1. Place the caret at the color value supposed to be changed.
  2. Do one of the following:
    • Select the current value and press Ctrl+Space. Choose a new value and press Enter. A new value will replace the old one.
    • Press Alt+Enter to display the drop-down list that includes available context actions and quick-fixes. Select Pick color from palette from the drop-down list. The Select Color dialog box opens. Define a new value and press OK.

In the Select Color dialog box, you can choose colors using three models: AHSB, Web and ARGB. If you know the numeric value of the color you want, you can enter it into the appropriate text field. You can use the color slider and the color field to choose a color. As you adjust the color using the color field and color slider, the numeric values are adjusted accordingly. When you select a color in the color box, it simultaneously displays the numeric values for AHSB and ARGB, and hexadecimal numbers.

See Also