Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged color



« Prev 1 Next »
This function mimics Photoshop overlay blending by accepting two RGB arrays, one which will be overlayed and one which will overlay. Opacity is optional.
0 72 posted 7 years ago by laurikar
Point the script to an image and get its dominant color.
1 182 posted 7 years ago by o0110o
Random color hex
0 83 posted 8 years ago by pruntrut
0 92 posted 8 years ago by DanielFGray
With this file you can load stylesheets and minify the code while changing colors. The stylesheets are loaded using file_get_contents and you can attach them one after another if you have multiple sheets. The colors are replaces based on a variable t...
0 76 posted 8 years ago by FatFolderDesigner
0 74 posted 8 years ago by nogre
Here you see a example to make your table background color fdifferent at last
0 119 posted 8 years ago by Darksider3
Ported to PHP from here: http://snipplr.com/view/48067/ (original: http://paulirish.com/2009/random-hex-color-code-snippets/)
2 102 posted 9 years ago by ozke
So i wanted to spit all my error_log(); and error_reporting(E_ALL); to syslog on my MacOSX and syslog would output it on a custom file.
0 129 posted 9 years ago by sadus
This is a simple way to stripe alternate rows of output or to do anything different as I process each alternate row. Typically, I set the <tr> element's class to "myEvenRow" or "myOddRow" then output the <tr> data just after the IF statement. I f...
4 83 posted 10 years ago by dizzley
Converts a given RGB colour value such as that provided by the imagecolorat() function into an html compliant colour.
1 61 posted 10 years ago by h4rrisonjames
0 107 posted 11 years ago by crishnakh
Any comments/suggestions are always welcome.
2 141 posted 12 years ago by koncept
2 166 posted 12 years ago by Cory
« Prev 1 Next »