diff --git a/src/color/Color.js b/src/color/Color.js index 89632a22..74a21236 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -334,6 +334,10 @@ var Color = this.Color = Base.extend(new function() { }, src); } return this.base(src); + }, + + random: function() { + return new RgbColor(Math.random(), Math.random(), Math.random()); } } };