diff --git a/lib/less/node/color.js b/lib/less/node/color.js index a2fc9f3..ad18cba 100644 --- a/lib/less/node/color.js +++ b/lib/less/node/color.js @@ -18,7 +18,7 @@ node.Color.prototype = { eval: function () { return this }, toCSS: function () { return '#' + this.value.map(function (i) { - return i.toString(16); + return Math.round(i).toString(16); }).join(''); }, '+': function (other) {