colord icon indicating copy to clipboard operation
colord copied to clipboard

Incorrectly parse hexa to rgba to hexa

Open MrKou47 opened this issue 2 years ago • 0 comments

actual:

const expectValue = '#cc88'
colord(colord(expectValue).toRgbString()).toHex() !== expectValue // #cccc8887

expect:

const expectValue = '#cc88'
colord(colord(expectValue).toRgbString()).toHex() !== expectValue // toHex() return value should equal to expectValue

MrKou47 avatar Sep 26 '22 05:09 MrKou47