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

(RGBA) setting alpha value to 1 represented in floating point(1.0), returns false #44

Open
Budaa opened this issue Oct 17, 2024 · 1 comment

Comments

@Budaa
Copy link

Budaa commented Oct 17, 2024

Hello there!

Is there a reason why validating this colour "rgba(0, 0, 0, 1.0)" returns false?

This format is even used in one of the examples on W3 page https://www.w3.org/wiki/CSS/Properties/color/RGBA

Example

Best!

@Budaa
Copy link
Author

Budaa commented Oct 17, 2024

In case there is no good reason, here is the PR: #45

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