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

Extraction of color components #27

Open
svgeesus opened this issue Jan 12, 2022 · 2 comments
Open

Extraction of color components #27

svgeesus opened this issue Jan 12, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@svgeesus
Copy link
Collaborator

svgeesus commented Jan 12, 2022

As mentioned in CSSWG discussion of color-extract(), that is a CSS API and the JS color api should offer the same functionality.

So the documentation should give some examples of color-extract() paired with some JS examples that do the same thing.

@LeaVerou
Copy link
Collaborator

The API already provides this functionality, it's color.get(...)

@svgeesus
Copy link
Collaborator Author

I think you missed the paired with

@LeaVerou LeaVerou added the documentation Improvements or additions to documentation label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants