diff --git a/core/utils/colour.js b/core/utils/colour.js index dffd193f3..7b2c978f4 100644 --- a/core/utils/colour.js +++ b/core/utils/colour.js @@ -151,8 +151,7 @@ const hsvToHex = function(h, s, v) { break; } } - return rgbToHex( - Math.floor(red), Math.floor(green), Math.floor(blue)); + return rgbToHex(Math.floor(red), Math.floor(green), Math.floor(blue)); }; /** @@ -208,4 +207,11 @@ const names = { 'yellow': '#ffff00' }; -exports = {parse, rgbToHex, hexToRgb, hsvToHex, blend, names}; +exports = { + parse, + rgbToHex, + hexToRgb, + hsvToHex, + blend, + names +};