Skip to content

Commit e810473

Browse files
committed
stringify hexopacity
1 parent da98dd5 commit e810473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/colors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
if (opacity === 1) {
119119
cell.textContent = color;
120120
} else {
121-
cell.textContent = color + hexOpacity(opacity);
121+
cell.textContent = `${color}${hexOpacity(opacity)}`;
122122
}
123123
}
124124

0 commit comments

Comments
 (0)