diff --git a/src/color/Color.js b/src/color/Color.js index 795e1623..d233caeb 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -35,7 +35,7 @@ Color = Base.extend({ var index = index || 0, length = args.length - index; if (length == 1 && args[index] instanceof Color) { return args[index]; - } else if (length != 0) { + } else if (length != 0 && args[0] !== null) { var rgbColor = new RGBColor(RGBColor.dont); rgbColor.initialize.apply(rgbColor, index > 0 ? Array.prototype.slice.call(args, index) : args);