art
art copied to clipboard
Fix error in alpha hex value calculation
The current logic length == 1 ? a + a : a; is wrong, it should be length == 1 ? '0' + a : a;
This PR fixes this problem and simplifies the toHex logic