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

Convert color names #23

Open
Remo opened this issue Apr 27, 2017 · 3 comments
Open

Convert color names #23

Remo opened this issue Apr 27, 2017 · 3 comments
Milestone

Comments

@Remo
Copy link

Remo commented Apr 27, 2017

I'm looking for a library that converts all my colors into the same format and stumbled up on your library. IT looks like a neat start. However, I also need to be able to convert a string like red to something like #FF0000. Any reason not to support that?

@sebastiandedeyne sebastiandedeyne added this to the v2 milestone May 3, 2017
@sebastiandedeyne
Copy link
Member

I don't think this could be added without a breaking change because it would need a change in the interface to do it good.

Planning to do a rework of this package at some point, I'll keep in mind to add this then.

@ian-patel
Copy link

How about tag categories to #000000 as Dark and #ffffff ad Light color.

Hex::fromString('#000000')->isDark()

@kevnk
Copy link

kevnk commented Apr 15, 2021

How about tag categories to #000000 as Dark and #ffffff ad Light color.

Hex::fromString('#000000')->isDark()

@ian-patel - Check out #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants