clang-format core/utils/colour.js

This commit is contained in:
kozbial
2021-07-14 17:53:21 -07:00
committed by Monica Kozbial
parent 8abfa3d888
commit f63bf29b76

View File

@@ -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
};