How to convert a string color to its hex code or RGB value?
Posted
by Abs
on Stack Overflow
See other posts from Stack Overflow
or by Abs
Published on 2010-03-31T14:04:56Z
Indexed on
2010/03/31
14:13 UTC
Read the original article
Hit count: 224
Hello all,
I am not sure if its possible but I would like to create some sort of function where you pass in a string such as "yellow" or "green" and it returns its hex code or the range of hex codes that greens or yellows fit into.
Is this possible in PHP? If not possible, I am willing to try anything else that can do this!
Thanks all
© Stack Overflow or respective owner