diff --git a/scripts/color.js b/scripts/color.js index 71c764d..ae63a68 100644 --- a/scripts/color.js +++ b/scripts/color.js @@ -95,10 +95,12 @@ Color.normalize = function(c) { continue; } + c[p][3] = 255; + for (var color of c[p]) { if (color > 1) { fmt = "8b"; - break; + break; } }