Feature: include alpha in Hex
itta611 opened this issue · comments
Itta Funahashi commented
Modern browsers allow to contain alpha values in Hex. (Ex. rgba(0, 0, 0, 0.5)
= #00000080
)
However,
tinycolor('rgba(0, 0, 0, 0.3)').toHex()
will be #000000
.
Sergiu Cazac commented
There is a toHex8
for that already.
Itta Funahashi commented
thanks.