diff --git a/src/color.js b/src/color.js index 2f2947e16..52f555076 100644 --- a/src/color.js +++ b/src/color.js @@ -89,6 +89,10 @@ export default class Color { return this.alpha === 1 ? this.toHexString() : this.toRGBAString() } + toString () { + return this.toRGBAString() + } + isEqual (color) { if (this === color) { return true