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 1528 posted 15 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 1068 posted 15 years ago by deepsoul
You have a white shine on top just by changing the background color in whatever color you like.
0 1135 posted 15 years ago by crs
0 900 posted 16 years ago by joshuabaker
0 891 posted 16 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 1112 posted 16 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 3739 posted 16 years ago by benjamin
Setup default ignores, aliases, colors, completion and bash prompt in Git These are to be run from Terminal.
1 1373 posted 16 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 1172 posted 16 years ago by forchid
Enables you customise the colour of your <li> bullet points.
0 1356 posted 16 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 1384 posted 16 years ago by dizzley
Converts a given RGB colour value such as that provided by the imagecolorat() function into an html compliant colour.
1 1264 posted 16 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 1340 posted 16 years ago by jlvallelonga
Convert hexidecimal color codes (ie #C0C0C0) to decimal RGB (ie 255,255,255)
0 1540 posted 16 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 1548 posted 16 years ago by localhorst
0 1146 posted 16 years ago by monkey103
0 1432 posted 17 years ago by crishnakh
A drop down list of hair color for an online form.
0 3703 posted 17 years ago by jonhenshaw
A drop down list of eye colors for an online form.
0 3865 posted 17 years ago by jonhenshaw
2 2023 posted 17 years ago by Cory
One of my xanga layouts
1 1457 posted 18 years ago by sondosia
Image will be greyscale and will turn colored when hovered over
1 1353 posted 18 years ago by sondosia
0 1332 posted 19 years ago by whitetiger
0 1166 posted 19 years ago by whitetiger
1 1364 posted 19 years ago by rduv
1 1317 posted 19 years ago by rduv
1 2 3 Next »