diff --git a/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts b/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts index c3a563dfbd48d0d349d36888cb3ae26e25c05266..dba266e08521b03aa0517e5ed638f9b5c1c5a80f 100644 --- a/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts +++ b/src/vs/editor/contrib/colorPicker/common/colorFormatter.ts @@ -51,10 +51,10 @@ function createPropertyNode(variable: string, fractionDigits: number, type: stri case 'red': absoluteValue = normalize(color.toRGBA().r, min, max, RGBA_ENDRANGE); break; - case 'blue': + case 'green': absoluteValue = normalize(color.toRGBA().g, min, max, RGBA_ENDRANGE); break; - case 'green': + case 'blue': absoluteValue = normalize(color.toRGBA().b, min, max, RGBA_ENDRANGE); break; case 'alpha':