Open Remo opened 7 years ago
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.
How about tag categories to #000000
as Dark and #ffffff
ad Light color.
Hex::fromString('#000000')->isDark()
How about tag categories to
#000000
as Dark and#ffffff
ad Light color.Hex::fromString('#000000')->isDark()
@ian-patel - Check out #44
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?