Color manipulation tools and format conversion for PHP