Skip to content

Hex color values involving capital letters are changed to RGB when using the Color Picker. #88231

@AleksandrHovhannisyan

Description

@AleksandrHovhannisyan
  • VSCode Version: 1.41.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open a new tab and paste in this:
div {
    background-color: #1F1F1F;
}
  1. Open the command palette and run Change Language Mode. Select CSS as the language.

  2. Hover over the color picker and note that the value is interpreted as RGB.

  3. Use the color picker to change the color. Note that the original hex has now been replaced with RGB.

This isn't really a big deal—it's more of an annoyance whenever an external color picker gives me a hex value with all caps. Demo:

demo

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcss-less-scssIssues and items concerning CSS,Less,SCSS stylingeditor-color-pickerEditor color picker widget issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions