Color picker alters RGB components when changing opacity #36240
Labels
bug
Issue identified by VS Code Team member as probable bug
editor-color-picker
Editor color picker widget issues
Steps to Reproduce:
Use the color picker to change the opacity to a random value.
The color has changed to
rgba(92, 108, 196, 0.55)
(note the wrong green component).Close the color picker by clicking in the file.
Reopen the color picker, change the opacity again.
The color has changed to
rgba(92, 109, 196, 0.73)
.This bug also occurs using the same color in hex format (
#5c6ac4
), but only affects some colors. I was just unlucky enough to use a problematic one and was surprised to see that some of the colors in our CSS code were off by a digit.Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: