ReSharper 2023.1 Help

Context actions for CSS

ReSharper provides the following context actions for CSS:

Name

Description

Convert hex color to hsl()

Converts color value from hex literal to hsl()

Convert hex color to named

Converts color value from hex literal to the named form

Convert hex color to rgb()

Converts color value from hex literal to 'rgb()'

Convert hsl() to hex literal

Converts color value from 'hsl()' to hex literal

Convert hsl() to named form

Converts color value from 'hsl()' to the named form

Convert hsl() to rgb()

Converts color value from 'hsl()' to 'rgb()'

Convert named color to hex form

Converts color value from named form to hex literal

Convert named color to hsl()

Converts color value from named form to hsl()

Convert named color to rgb()

Converts color value from named form to rgb()

Convert rgb() to hex literal

Converts color value from 'rgb()' to hex literal

Convert rgb() to hsl()

Converts color value from 'rgb()' to 'hsl()'

Convert rgb() to named form

Converts color value from 'rgb()' to the named form

Replace var(…) with its fallback value

Replaces var(…) invocation with its fallback value, if any

Last modified: 19 August 2021