diff --git a/src/color/Color.js b/src/color/Color.js index 16a13a3f..7c47a4a7 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -333,9 +333,7 @@ var Color = this.Color = Base.extend(new function() { toCssString: function() { if (!this._cssString) { - var color = this._colorType === 'rgb' - ? this - : this.convert('rgb'); + var color = this.convert('rgb'); var alpha = color.getAlpha(); var components = [ Math.round(color.getRed() * 255),