Our website is ColorCombos.com.
We allow users to build color palettes, then we dynamically turn those color palettes into an image for them to share.
You can see an example using simple squares here - [url removed, login to view]
We would like to allow the users to create fancier images to share their color palettes. Right now we are running a contest at [url removed, login to view] in order to get a nice color palette template. You can see the entries here - [url removed, login to view]
For this project, you would create a function that dynamically builds a color palette image, starting with the template.
The function would accept the following parameters.
1. List of palette hex colors
2. Background hex color
3. Image Size
The function would start with the color palette template, then dynamically switch out the colors to create a new image using the palette colors passed in. The function would set the background color to the one specified in the parameters and would size the image according to the image size parameters passed in.
Depending on the template that we choose, the Hex colors may need to be dynamically added to the image along side of their respective colors.
The function would then return a PNG image to be displayed on a webpage.
We would like for this function to be created using PHP and PHP Libraries if all possible. We are using Dreamhost as our webhost and may be limited on what technology we can use.
We would need to know how you intend to create this function. And we would also need to know what image file types would be required in order to complete this project. We can ask the 99designers to give us an SVG file, if that would help. Also note, that an image could have from 1 to 6 possible colors in a palette. Also, we may choose a palette which could theoretically have unlimited number of colors in the palette.