Closed jljsj33 closed 1 year ago
https://github.com/uiwjs/react-color/blob/main/packages/color-convert/src/index.ts#L208C28-L208C28
hexToRgab('#00000000') ===> { r:0, g: 0, b: 0, a: 1 } fix: =>>>>. (a ?? 255) / RGB_MAX
https://github.com/uiwjs/react-color/blob/main/packages/color-convert/src/index.ts#L208C28-L208C28