Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'transparent' still not supported? #124

Open
cimak opened this issue Apr 4, 2024 · 0 comments
Open

'transparent' still not supported? #124

cimak opened this issue Apr 4, 2024 · 0 comments

Comments

@cimak
Copy link

cimak commented Apr 4, 2024

Why is transparent equal to black @2.9.3?

colord('transparent').isEqual('#000'); // true
colord('transparent').isEqual('black')); // true
colord('rgba(0,0,0, 0.0)').isEqual('#000'); // true

colord('transparent').toHex(); // '#000000'
colord('transparent').toRgbString(); // 'rgb(0, 0, 0)'
colord('rgba(0,0,0, 0)').toRgbString(); // 'rgb(0, 0, 0)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant