<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/colors</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 04:03:48 GMT</pubDate>
<item>
<title>(CSS) Alternating Table Color Rows in CSS - apphp-snippets</title>
<link>http://snipplr.com/view/70344/alternating-table-color-rows-in-css/</link>
<description><![CDATA[ <p>These 2 techniques can be used for alternating row-colors in a table.</p> ]]></description>
<pubDate>Sun, 10 Mar 2013 19:31:20 GMT</pubDate>
<guid>http://snipplr.com/view/70344/alternating-table-color-rows-in-css/</guid>
</item>
<item>
<title>(CSS) Alternating Table Color Rows in CSS - apphp-snippets</title>
<link>http://snipplr.com/view/69966/alternating-table-color-rows-in-css/</link>
<description><![CDATA[ <p>These 2 techniques can be used for alternating row-colors in a table.</p> ]]></description>
<pubDate>Sun, 17 Feb 2013 20:24:40 GMT</pubDate>
<guid>http://snipplr.com/view/69966/alternating-table-color-rows-in-css/</guid>
</item>
<item>
<title>(PHP) Validate HTML Color (Both HEX &amp;amp; Named)| Regex - STaRDoGG</title>
<link>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</link>
<description><![CDATA[ <p>This function will take a HTML color as a string, and run it through some validation.

If $named (optional): is set to either 1 or TRUE it'll check if it was a named color first, otherwise itll first check for a valid Hex color that include thes hash (#) sign, and then will check for a valid Hex color that doesn't include the hash and add it to the color.

NOTE: If it fails anywhere along the validation, such as an invalid Hex color, no error notice is returned. You may want to add this in yourself, or perhaps return a default color, such as black, if it's needed for your use.</p> ]]></description>
<pubDate>Sat, 03 Nov 2012 04:12:49 GMT</pubDate>
<guid>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</guid>
</item>
<item>
<title>(AppleScript) AppleScript - convert text from RGB to CMYK color values - brandonjp</title>
<link>http://snipplr.com/view/49113/applescript--convert-text-from-rgb-to-cmyk-color-values/</link>
<description><![CDATA[ <p>Stolen from  stetho -- All thanks to AppleScript to convert CMYK to RGB values http://bit.ly/eP2mXS</p> ]]></description>
<pubDate>Thu, 17 Feb 2011 04:20:18 GMT</pubDate>
<guid>http://snipplr.com/view/49113/applescript--convert-text-from-rgb-to-cmyk-color-values/</guid>
</item>
<item>
<title>(ActionScript 3) Color Const: grays, html colors, svg colors - mgeduld</title>
<link>http://snipplr.com/view/47477/color-const-grays-html-colors-svg-colors/</link>
<description><![CDATA[ <p>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 extracted the following code, adding the grays to it.

I also added the NO_COLOR const, which I sometimes find useful (and why I used ints intead of uints, which can't ever be negative). Color values are always positive numbers. There's no equivalent to null, because zero is a color (black). So NO_COLOR is my faux null.</p> ]]></description>
<pubDate>Wed, 19 Jan 2011 08:25:55 GMT</pubDate>
<guid>http://snipplr.com/view/47477/color-const-grays-html-colors-svg-colors/</guid>
</item>
<item>
<title>(jQuery) jQuery Alternating Row Colors - BlueIceStudios</title>
<link>http://snipplr.com/view/47384/jquery-alternating-row-colors/</link>
<description><![CDATA[ <p>This one is simple yet very useful. You can do alternating row colors with 2 simple lines of jQuery</p> ]]></description>
<pubDate>Tue, 18 Jan 2011 03:59:28 GMT</pubDate>
<guid>http://snipplr.com/view/47384/jquery-alternating-row-colors/</guid>
</item>
<item>
<title>(ActionScript 3) Common Colour Values as Constants - adrianparr</title>
<link>http://snipplr.com/view/22711/common-colour-values-as-constants/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 07 Nov 2009 19:51:11 GMT</pubDate>
<guid>http://snipplr.com/view/22711/common-colour-values-as-constants/</guid>
</item>
<item>
<title>(Bash) Bash color codes - Snow Leopard compatible - AzizLight</title>
<link>http://snipplr.com/view/20116/bash-color-codes--snow-leopard-compatible/</link>
<description><![CDATA[ <p>In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033.

The list below works perfectly in Snow Leopard</p> ]]></description>
<pubDate>Wed, 23 Sep 2009 14:26:49 GMT</pubDate>
<guid>http://snipplr.com/view/20116/bash-color-codes--snow-leopard-compatible/</guid>
</item>
<item>
<title>(PHP) PHP Binary colours - jatkins</title>
<link>http://snipplr.com/view/6933/php-binary-colours/</link>
<description><![CDATA[ <p>Pretty pointless.</p> ]]></description>
<pubDate>Thu, 26 Jun 2008 15:37:38 GMT</pubDate>
<guid>http://snipplr.com/view/6933/php-binary-colours/</guid>
</item>
<item>
<title>(ASP) Alternate row colors - f0vela</title>
<link>http://snipplr.com/view/5405/alternate-row-colors/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 14:58:43 GMT</pubDate>
<guid>http://snipplr.com/view/5405/alternate-row-colors/</guid>
</item>
<item>
<title>(JavaScript) MooTools alternate table row colors - gbot</title>
<link>http://snipplr.com/view/5319/mootools-alternate-table-row-colors/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 08 Mar 2008 10:51:21 GMT</pubDate>
<guid>http://snipplr.com/view/5319/mootools-alternate-table-row-colors/</guid>
</item>
<item>
<title>(Ruby) Rails alt row colors - gdonald</title>
<link>http://snipplr.com/view/1245/rails-alt-row-colors/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Sep 2006 13:08:20 GMT</pubDate>
<guid>http://snipplr.com/view/1245/rails-alt-row-colors/</guid>
</item>
</channel>
</rss>