Welcome To Snipplr


Everyone's Recent Snippets Tagged color



1 2 3 Next »
The ColorMatrix class by Grant Skinner allows you to modify the Brightness, Contrast, Saturation and Hue of a DisplayObject.
0 516 posted 12 years ago by adrianparr
I really like the use of constants and the dollar sign ($) in this class. I have only used $ in jQuery to designate objects. Looks like one might use $ in AS3 classes to designate/differentiate passed-in variables from internal method/global vars.
1 542 posted 12 years ago by mhulse
This snippet shows how to replace the colours in a monochrome image, i.e. one which only contains two colours and the range of hues between them.
0 406 posted 13 years ago by deepsoul
You have a white shine on top just by changing the background color in whatever color you like.
0 441 posted 13 years ago by crs
0 316 posted 13 years ago by joshuabaker
0 372 posted 13 years ago by joshuabaker
When you put an image in a printable document, you don't want it to have black (or coloured) background. ImageMagick allows to replace colours even when the coloured regions are non-contiguous. Arbitrary colour values can be specified with `\#12345...
0 397 posted 13 years ago by deepsoul
This script is for generating plots with many curves, where each curve has its own marker, color, and line style. Please see my blog post for more explanations and leave comments there.
0 746 posted 13 years ago by benjamin
Setup default ignores, aliases, colors, completion and bash prompt in Git These are to be run from Terminal.
1 439 posted 13 years ago by alvarezrilla
This is an incomplete color spectrum because cos waves will not reach all the colors. For a proper graph refer to this wiki page http://en.wikipedia.org/wiki/HSL_color_space
1 408 posted 13 years ago by forchid
Enables you customise the colour of your <li> bullet points.
0 485 posted 13 years ago by nostradamuszen
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 492 posted 13 years ago by dizzley
Converts a given RGB colour value such as that provided by the imagecolorat() function into an html compliant colour.
1 445 posted 13 years ago by h4rrisonjames
I just put all the functions in here the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0 546 posted 13 years ago by jlvallelonga
Convert hexidecimal color codes (ie #C0C0C0) to decimal RGB (ie 255,255,255)
0 655 posted 13 years ago by blackf0rk
see website for all information about that. some more theory: [color-scaling-function](http://stackoverflow.com/questions/168838/color-scaling-function) [generate-color-for-a-power-meter-red-to-green](http://stackoverflow.com/questions/340209/gene...
0 645 posted 14 years ago by localhorst
0 394 posted 14 years ago by monkey103
0 589 posted 14 years ago by crishnakh
A drop down list of hair color for an online form.
0 1341 posted 15 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 1442 posted 15 years ago by jonhenshaw
2 818 posted 15 years ago by Cory
One of my xanga layouts
1 513 posted 16 years ago by sondosia
Image will be greyscale and will turn colored when hovered over
1 431 posted 16 years ago by sondosia
0 512 posted 16 years ago by whitetiger
0 460 posted 16 years ago by whitetiger
1 442 posted 16 years ago by rduv
1 451 posted 16 years ago by rduv
1 2 3 Next »