HI
I have been asked to provide a solution to this problem as part of the selection process for a job. I have limited experience of PHP, however when I told my potential employer this they were happy for me to spend some time researching the following problem:
“We have a dynamic online magazine. Each page of the magazine contains an image and an article. Your problem is to dynamically colour the article text and the article background to match the colours that are present in the image, making considerations for readability and accessibility. Justify your choice of colour and explain any extensions to this that you feel would enhance the solution.”
I take this means the colours used have to come from the image so that pastel colours are used for the background and contrasting colours are used for the foreground text? If someone with more experience with PHP could provide any assistance on how to go about this it would be appreciated.
Thanks
Jeremy