Welcome To Snipplr
Everyone's Recent Snippets Tagged color
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Full credit for this code goes to Scratchbrain (http://www.scratchbrain.net/blog/ver2/)
0
649
posted 13 years ago by adrianparr
Generates random hex values ("You know, these guys: #0afec0, #c9f2d0, #9b923e")
1
598
posted 13 years ago by mike_fowler
The docs for the Sekati SWC are here: http://docs.sekati.com/sekati/sekati/utils/ColorUtil.html
Another useful blog post: http://blog.soulwire.co.uk/code/actionscript-3/extract-average-colours-from-bitmapdata
0
842
posted 13 years ago by adrianparr
This is based on http://www.snipplr.com/view/46082/as3-html-color-keywords-colorname-class/
I found that link really useful, but it's more complex than I needed. I just wanted a simple list of consts. So I ran the above through a regexp and extrac...
0
566
posted 13 years ago by mgeduld
All credit for this class goes to Mark Walters (www.yourpalmark.com)
This class needs to be put in the package structure "com/yourpalmark/utils"
0
765
posted 13 years ago by adrianparr
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
913
posted 13 years ago by sadus
You have a RGB value and want to convert it into Hexadecimal mode, here’s how to do it using JavaScript.
0
599
posted 13 years ago by math89
see demo at http://adamcoulombe.info/lab/as3/stripes.html.
This demonstrates the use of k-lib, Kuler API library for AS3. As well as Traer Physics for to handle the springiness.
1
671
posted 13 years ago by adamcoulombe
This requires the [RGB](http://snipplr.com/view/34818/as3--rgb-class-for-rgb-to-hex/) class I posted as well
0
1022
posted 13 years ago by rivaledsouls
This handy little function can be used to convert a displayObject to black and white.
0
916
posted 14 years ago by adrianparr
First there was: [http://snipplr.com/view/15246/color-coded-svn-status](http://snipplr.com/view/15246/color-coded-svn-status)
Then there was: [http://snipplr.com/view/16540/color-coded-svn-status-v2](http://snipplr.com/view/16540/color-coded-svn-s...
0
735
posted 14 years ago by philchristensen
The ColorMatrix class by Grant Skinner allows you to modify the Brightness, Contrast, Saturation and Hue of a DisplayObject.
0
725
posted 14 years ago by adrianparr