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 746 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 559 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 588 posted 14 years ago by crs
0 429 posted 14 years ago by joshuabaker
0 494 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 540 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 1024 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 640 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 551 posted 14 years ago by forchid
Enables you customise the colour of your <li> bullet points.
0 683 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 669 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 625 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 719 posted 15 years ago by jlvallelonga
Convert hexidecimal color codes (ie #C0C0C0) to decimal RGB (ie 255,255,255)
0 854 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 908 posted 15 years ago by localhorst
0 574 posted 15 years ago by monkey103
0 790 posted 15 years ago by crishnakh
A drop down list of hair color for an online form.
0 1830 posted 16 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 1984 posted 16 years ago by jonhenshaw
2 1076 posted 16 years ago by Cory
One of my xanga layouts
1 710 posted 17 years ago by sondosia
Image will be greyscale and will turn colored when hovered over
1 625 posted 17 years ago by sondosia
0 697 posted 17 years ago by whitetiger
0 624 posted 17 years ago by whitetiger
1 637 posted 17 years ago by rduv
1 618 posted 17 years ago by rduv
1 2 3 Next »