mirror of
https://github.com/google/blockly.git
synced 2026-01-13 03:47:08 +01:00
clang-format core/utils/colour.js
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user