I am developing an application which displays multiple views as tables (for example customers, products, etc.). The last column of each row contains buttons, using which the
I would use jQuery for this and set the color behind the png or of the png regarding the css class/es of the table.
Dont use too much php like Imagemagick because it slows down the rendering of the page dramatically.
take a look at Pixastic (coloradjust)
https://github.com/jseidelin/pixastic
http://www.pixastic.com/lib/docs/actions/coloradjust/
or PaintbrushJS (colour tint)
https://github.com/mezzoblue/PaintbrushJS
http://mezzoblue.github.com/PaintbrushJS/demo/
or CamanJS (colorize)
http://camanjs.com/
http://camanjs.com/guides/#BuiltIn
https://github.com/meltingice/CamanJS/
or VintageJS
http://rendro.github.io/vintageJS/
https://github.com/rendro/vintageJS