-
website color generation script wanted (php)
I could do this, but I'm kinda lazy feeling, and I have this feeling that someone more comfortable with regex could do it easier and faster and better than I.
Here's the scenario: There's a website form where a user enters four colors in hex (with or without the # and with or without capital letters)
Those colors get the # stripped off and are divided into three two character strings apiece.
convert them to decimal.
Then follow a certain pattern to add the strings together and divide by two (essentially creating "inbetween" colors)
then this would be output to the page in a nice table.
Mostly it's just the regex I don't want to do. I'm comfortable with tables and forms and stuff, but things like preg_replace give me the willies.
anyone interested to be my slave for the day?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules