diff --git a/src/color/Color.js b/src/color/Color.js index 4a1c9f17..b5ca390b 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -278,7 +278,7 @@ var Color = this.Color = Base.extend(new function() { }, _serialize: function(options) { - var res = []; + var res = [ this._type ]; for (var i = 0, l = this._components.length; i < l; i++) { var component = this._components[i], value = this['_' + component];