diff --git a/lib/commons/color/flatten-colors.js b/lib/commons/color/flatten-colors.js index 59c5a6a2fc..c44431fc61 100644 --- a/lib/commons/color/flatten-colors.js +++ b/lib/commons/color/flatten-colors.js @@ -235,7 +235,7 @@ function setSaturation(color, s) { { name: 'red', value: color.red }, { name: 'green', value: color.green }, { name: 'blue', value: color.blue } - ] + ]; // find the min, mid, and max values of the color components const [Cmin, Cmid, Cmax] = colorEntires.sort((a, b) => {