We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1692de commit 68b5c9cCopy full SHA for 68b5c9c
lib_src/misc/colors.ts
@@ -41,5 +41,5 @@ function rgb2hex(rgb) {
41
}
42
43
function hex(x) {
44
- return ("0" + parseInt(x).toString(16)).slice(-2);
+ return ("0" + parseInt(x, 10).toString(16)).slice(-2)
45
0 commit comments