<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

<channel>
    <title>Webmonkey &#187; color</title>
    <atom:link href="http://www.webmonkey.com/tag/color/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>CLUT file</title>
        <link>http://www.webmonkey.com/2010/02/clut_file/</link>
        <comments>http://www.webmonkey.com/2010/02/clut_file/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=77</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[UI/UX]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[In computer graphics, a color look-up table, or CLUT, is the set of available colors for a given application. For example, a 24-bit system can display 16 million unique colors, but a given program would use only 256 of them at a time if the display is in 256-color mode. The CLUT in this case [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>In computer graphics, a color look-up table, or CLUT, is the set of available colors for a given application.

</p><p>For example, a 24-bit system can display 16 million unique colors, but a given program would use only 256 of them at a time if the display is in 256-color mode. The CLUT in this case would consist of the 16 million colors, but the program&#8217;s <a href="/2010/02/Palette" title="Reference:Palette">palette</a> would contain only the 256-color subset. To avoid dithering (i.e., varying the pattern of dots in an image) on 8-bit machines, you should only use colors from a predesignated CLUT.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/clut_file/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>CMYK</title>
        <link>http://www.webmonkey.com/2010/02/cmyk/</link>
        <comments>http://www.webmonkey.com/2010/02/cmyk/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=79</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[CMYK stands for cyan magenta yellow and blacK and is a color system used in the offset printing of full-color documents. Offset uses cyan, magenta, yellow, and black inks and is often referred to as &#8220;four-color&#8221; printing. Monitors use red, green, and blue light instead, so they display images using a different color system called [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>CMYK stands for cyan magenta yellow and blacK and is a color system used in the offset printing of full-color documents.

</p><p>Offset uses cyan, magenta, yellow, and black inks and is often referred to as &#8220;four-color&#8221; printing. Monitors use red, green, and blue light instead, so they display images using a different color system called <a href="/2010/02/RGB" title="Reference:RGB"> RGB</a>. One of the great problems of the digital age has been matching colors between these two systems; i.e., taking a digital RGB image and making it look the same in print using CMYK. These problems are addressed by applications such as the <a href="/2010/02/PMS" title="Reference:PMS"> Pantone Matching System</a>.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/cmyk/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Grayscale</title>
        <link>http://www.webmonkey.com/2010/02/grayscale/</link>
        <comments>http://www.webmonkey.com/2010/02/grayscale/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=147</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[A grayscale image uses only shades of gray to represent an image. Black-and-white photographs can use a virtually unlimited number of shades of gray, but most computers can display only 16 or 256. To grayscale is to convert a continuous-tone image, like a black-and-white photograph, to an image made up of pixels. Grayscaling is different [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>A grayscale image uses only shades of gray to represent an image.

</p><p>Black-and-white photographs can use a virtually unlimited number of shades of gray, but most computers can display only 16 or 256. To grayscale is to convert a continuous-tone image, like a black-and-white photograph, to an image made up of pixels. Grayscaling is different from dithering, which uses either black or white pixels next to one another to simulate shades of gray. In grayscaling, each individual pixel can be a different shade of gray.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/grayscale/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Hexadecimal</title>
        <link>http://www.webmonkey.com/2010/02/hexadecimal/</link>
        <comments>http://www.webmonkey.com/2010/02/hexadecimal/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=250</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[The hexadecimal (base 16) number system used for Web-page design consists of 16 unique symbols:0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. For example, the decimal number 15 is equal to the hexadecimal number F. In HTML, an RGB color can be designated by RRGGBB with [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>The hexadecimal (base 16) number system used for Web-page design consists of 16 unique symbols:0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

</p>

For example, the decimal number 15 is equal to the hexadecimal number F. In HTML, an <a href="/2010/02/RGB" title="Reference:RGB"> RGB</a> color can be designated by <pre class="brush: js">RRGGBB</pre> with the first two numerals representing the amount of red, the second two the amount of green, and the last two the amount of blue. If you wanted your background to be red, you could write the code for a body background color as <pre class="brush: js">&lt;body bgcolor="#FF0000"&gt;</pre> Black is the absence of all color and white is the presence of all color, so in hexadecimal, black is at the bottom of the system (no red, green, or blue:<pre class="brush: js">#000000</pre> and white is at the top (the maximum amount of red, green, and blue:<pre class="brush: js">#FFFFFF</pre><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/hexadecimal/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Palette</title>
        <link>http://www.webmonkey.com/2010/02/palette/</link>
        <comments>http://www.webmonkey.com/2010/02/palette/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=264</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[Much like an oil painter with her palette of many unique color combinations, each operating system has its own palette. Many computers out there display only 256 colors at a time, and the Macintosh and Windows operating systems reserve about 40 colors out of the 256, leaving 216 available. Netscape Navigator, Microsoft Internet Explorer, and [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p><br />

Much like an oil painter with her palette of many unique color combinations, each operating system has its own palette. Many computers out there display only 256 colors at a time, and the Macintosh and Windows operating systems reserve about 40 colors out of the 256, leaving 216 available. Netscape Navigator, Microsoft Internet Explorer, and NCSA Mosaic implemented a 216-color palette that won&#8217;t dither (i.e., vary the pattern of dots in an image) on different platforms and is &#8220;browser safe&#8221; (in other words, these 216 colors will always look the same, no matter what platform or browser is being used). Theoretically.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/palette/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>HTML5 Makes a Great Color Picker</title>
        <link>http://www.webmonkey.com/2009/12/clever_use_html5_makes_a_great_color_picker/</link>
        <comments>http://www.webmonkey.com/2009/12/clever_use_html5_makes_a_great_color_picker/#comments</comments>
        <pubDate>Wed, 23 Dec 2009 13:16:44 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/html5makesagreatcolorpicker</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Visual Design]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
        <description><![CDATA[HTML5 is changing more than just websites &#8212; it&#8217;s changing the capabilities of browsers, as well. For example, a very clever use of the HTML5 canvas tag allows developer Heather Arthur&#8217;s Rainbow color scheme add-on for Firefox to extract a color palette from any webpage. Because browser add-ons &#8212; those in Firefox and Chrome anyway [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><img class="blogimg" src="http://www.wired.com/images_blogs/epicenter/2009/12/ffcolorpicker.jpg" /></p>
<p>HTML5 is changing more than just websites &#8212; it&#8217;s changing the capabilities of browsers, as well. For example, a very clever use of the HTML5 canvas tag allows developer Heather Arthur&#8217;s <a href="https://addons.mozilla.org/en-US/firefox/addon/14328">Rainbow</a> color scheme add-on for Firefox to <a href="http://harthur.wordpress.com/2009/12/18/getting-the-color-scheme-of-a-website-using-canvas-and-hierarchical-clustering/">extract a color palette from any webpage</a>.</p>
<p>Because browser add-ons &#8212; those in Firefox and Chrome anyway &#8212; can be built using HTML, they too can take advantage of HTML5&#8242;s new tools. In Arthur&#8217;s case, that means using the HTML5 &lt;canvas&gt; element to load the entire web page and then use the <code>getImageData</code> function to extract colors.</p>
<p>Now it&#8217;s true there are already some add-ons (and desktop software) that can do this, but the shortcoming of most such add-ons is that they simply parse a page&#8217;s DOM and extract CSS styles to build a color palette. That works just fine &#8212; unless key page elements are actually images.</p>
<p>Arthur&#8217;s method of putting the page in a canvas tag and then parsing that means that all the colors are extract since the entire page effectively becomes a single, parsable image.</p>
<p>Of course behind the scenes there&#8217;s a good bit more going on. For example, the average web page in Arthur&#8217;s testing turned out the use somewhere in the neighborhood of 10,000 colors (think of all the shades actually present in a simple button gradient and you can see why the number is so high). Obviously, displaying that many colors would be useless. So, the Rainbow add-on uses a clustering algorithm to figure out the predominant shades on the page.</p>
<p>Running algorithms tends to slow down your browser, but thanks to HTML5&#8242;s Web Workers component, the Rainbow add-on is remarkably snappy. The comments on Arthur&#8217;s post also suggest some further optimizations which would make it even faster.</p>
<p>In the end, Arthur has created a plugin that makes an admirable replacement for some desktop software and, even better, showcases yet another possible way to use HTML5. If you&#8217;re interested in the actual add-on, head over to the <a href="https://addons.mozilla.org/en-US/firefox/addon/14328">download page</a>. (The add-on is still listed as experimental, but it hasn&#8217;t caused any problems for me on Firefox 3.6b5).</p>
<p><strong>See Also:</strong></p>
<ul>
<li><a href="http://www.webmonkey.com/blog/How_HTML_5_Is_Already_Changing_the_Web">How HTML 5 Is Already Changing the Web</a></li>
<li><a href="http://www.webmonkey.com/blog/Turn_Your_Vector_Art_Into_Canvas-based_Animations_With_Opacity">Turn Your Vector Art Into Canvas-based Animations With Opacity</a></li>
<li><a href="http://www.webmonkey.com/blog/Google_Throws_Its_Weight_Behind_HTML_5">Google Throws Its Weight Behind HTML 5</a></li>
<li><a href="http://www.webmonkey.com/blog/HTML_5_Support_by_Browser:_Opera_Continues_to_Lead_the_Pack">HTML 5 Support by Browser: Opera Continues to Lead the Pack</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>
]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2009/12/clever_use_html5_makes_a_great_color_picker/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    </channel>
</rss>