Welcome To Snipplr


Everyone's Recent Snippets Tagged color



1 2 3 Next »
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 737 posted 14 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 549 posted 14 years ago by deepsoul
You have a white shine on top just by changing the background color in whatever color you like.
0 580 posted 14 years ago by crs
0 416 posted 14 years ago by joshuabaker
0 482 posted 14 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 530 posted 14 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 1001 posted 14 years ago by benjamin
Setup default ignores, aliases, colors, completion and bash prompt in Git These are to be run from Terminal.
1 623 posted 14 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 541 posted 14 years ago by forchid
Enables you customise the colour of your <li> bullet points.
0 673 posted 14 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 652 posted 14 years ago by dizzley
Converts a given RGB colour value such as that provided by the imagecolorat() function into an html compliant colour.
1 611 posted 14 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 710 posted 15 years ago by jlvallelonga
Convert hexidecimal color codes (ie #C0C0C0) to decimal RGB (ie 255,255,255)
0 842 posted 15 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 890 posted 15 years ago by localhorst
0 563 posted 15 years ago by monkey103
0 781 posted 15 years ago by crishnakh
A drop down list of hair color for an online form.
0 1797 posted 16 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 1950 posted 16 years ago by jonhenshaw
2 1059 posted 16 years ago by Cory
One of my xanga layouts
1 698 posted 17 years ago by sondosia
Image will be greyscale and will turn colored when hovered over
1 608 posted 17 years ago by sondosia
0 682 posted 17 years ago by whitetiger
0 616 posted 17 years ago by whitetiger
1 625 posted 17 years ago by rduv
1 607 posted 17 years ago by rduv
1 2 3 Next »