Convert Color to Named Color (ASP.NET)

Converts a color to the equivalent named color representation.

Availability

Available from the context menu or via shortcuts:

  • when the caret is on an RGB css function, or on a css color reference.

Example

<div style="background-color:#008000">

or

<div style="background-color:rgb(0, 128, 0)">

Result:

<div style="background-color:Green">

Screenshot

rsConvertColorToNamedColor