<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Oh The Things You&#8217;ll Learn</title>
	<atom:link href="http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 21:56:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Louie Holmes</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-9308</link>
		<dc:creator>Louie Holmes</dc:creator>
		<pubDate>Wed, 12 May 2010 16:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-9308</guid>
		<description>I always use Adobe illustrator at work because i work in an animation studio. this is really a serious tool for the graphic artist.;&#039;~</description>
		<content:encoded><![CDATA[<p>I always use Adobe illustrator at work because i work in an animation studio. this is really a serious tool for the graphic artist.;&#8217;~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schiller</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1290</link>
		<dc:creator>Jeff Schiller</dc:creator>
		<pubDate>Wed, 01 Jul 2009 22:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1290</guid>
		<description>Originally I had thought to use the complement color so that I can safely show where the gradient stop is in the picker.  After playing with this in the browsers that work, I realized it doesn&#039;t really look that good so I&#039;ll probably end up dropping the whole complement color.



I&#039;d still like to reliably be able to get the RGB components of a color input by the user though.</description>
		<content:encoded><![CDATA[<p>Originally I had thought to use the complement color so that I can safely show where the gradient stop is in the picker.  After playing with this in the browsers that work, I realized it doesn&#8217;t really look that good so I&#8217;ll probably end up dropping the whole complement color.</p>
<p>I&#8217;d still like to reliably be able to get the RGB components of a color input by the user though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1289</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 01 Jul 2009 22:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1289</guid>
		<description>Didnt know you wanted the web user to be able to do this. Of what goodly use is this function going to serve?



James</description>
		<content:encoded><![CDATA[<p>Didnt know you wanted the web user to be able to do this. Of what goodly use is this function going to serve?</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schiller</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1288</link>
		<dc:creator>Jeff Schiller</dc:creator>
		<pubDate>Wed, 01 Jul 2009 21:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1288</guid>
		<description>@James: Your solution sounds really intriguing!  One thing I couldn&#039;t figure out though:  How could I get the web server to open up Adobe Illustrator when the user enters the color on the web page? ;)</description>
		<content:encoded><![CDATA[<p>@James: Your solution sounds really intriguing!  One thing I couldn&#8217;t figure out though:  How could I get the web server to open up Adobe Illustrator when the user enters the color on the web page? <img src='http://www.codedread.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1287</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 01 Jul 2009 20:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1287</guid>
		<description>Propeller heads make things hard. Just open Adobe Illustrator, create a box, fill the box with your color, ask for the the complement from the color window and be done with it.



James</description>
		<content:encoded><![CDATA[<p>Propeller heads make things hard. Just open Adobe Illustrator, create a box, fill the box with your color, ask for the the complement from the color window and be done with it.</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CPKS</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1286</link>
		<dc:creator>CPKS</dc:creator>
		<pubDate>Sun, 28 Jun 2009 17:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1286</guid>
		<description>Not pretty, is it? The incantations required to get IE to behave seem to become more recondite by the version: prior to IE8, the &#039;BackColor&#039; command could be used to the same effect, but not any more: nous avons changé tout celà. Like you, I observe that it works and move on...</description>
		<content:encoded><![CDATA[<p>Not pretty, is it? The incantations required to get IE to behave seem to become more recondite by the version: prior to IE8, the &#8216;BackColor&#8217; command could be used to the same effect, but not any more: nous avons changé tout celà. Like you, I observe that it works and move on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Schiller</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1285</link>
		<dc:creator>Jeff Schiller</dc:creator>
		<pubDate>Sun, 28 Jun 2009 14:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1285</guid>
		<description>@CPKS: Ah, so getComputedStyle is another way, though it seems you may have to still parse from rgb() to hex for some browsers?  Thanks a lot for this!



That IE stuff is just disturbing to me.  I don&#039;t know what createTextRange(), moveToElementText(), execCommand() and queryCommandValue() really do.  Lucky I don&#039;t have to deal with it at the moment.</description>
		<content:encoded><![CDATA[<p>@CPKS: Ah, so getComputedStyle is another way, though it seems you may have to still parse from rgb() to hex for some browsers?  Thanks a lot for this!</p>
<p>That IE stuff is just disturbing to me.  I don&#8217;t know what createTextRange(), moveToElementText(), execCommand() and queryCommandValue() really do.  Lucky I don&#8217;t have to deal with it at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CPKS</title>
		<link>http://www.codedread.com/blog/archives/2009/06/27/oh-the-things-youll-learn/comment-page-1/#comment-1284</link>
		<dc:creator>CPKS</dc:creator>
		<pubDate>Sun, 28 Jun 2009 14:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codedread.com/archives/2009/06/27/oh-the-things-youll-learn/#comment-1284</guid>
		<description>getComputedColour = function(colour) {

  var d = document.createElement(&#039;DIV&#039;);

  d.style.backgroundColor = colour;

  document.body.appendChild(d);



  if(window.getComputedStyle) { // Mozilla, Opera, Chrome, Safari

    var rtn = document.defaultView.getComputedStyle(d, null).getPropertyValue(&#039;background-color&#039;);

    d.parentNode.removeChild(d);

    if (rtn.substr(0, 3) === &quot;rgb&quot;) rtn = rgb2Hex(rtn);

    return rtn;

  }

  else { // IE

    var rng = document.body.createTextRange();

    rng.moveToElementText(d);

    rng.execCommand(&#039;ForeColor&#039;, false, colour);

    var iClr = rng.queryCommandValue(&#039;ForeColor&#039;);

    var rgb = &quot;rgb(&quot;+(iClr &amp; 0xFF)+&quot;, &quot;+((iClr &amp; 0xFF00)&gt;&gt;8)+&quot;, &quot;+((iClr &amp; 0xFF0000)&gt;&gt;16)+&quot;)&quot;;

    d.parentNode.removeChild(d);

    rng = null;

    return rgb2Hex(rgb);

  }

}</description>
		<content:encoded><![CDATA[<p>getComputedColour = function(colour) {</p>
<p>  var d = document.createElement(&#8216;DIV&#8217;);</p>
<p>  d.style.backgroundColor = colour;</p>
<p>  document.body.appendChild(d);</p>
<p>  if(window.getComputedStyle) { // Mozilla, Opera, Chrome, Safari</p>
<p>    var rtn = document.defaultView.getComputedStyle(d, null).getPropertyValue(&#8216;background-color&#8217;);</p>
<p>    d.parentNode.removeChild(d);</p>
<p>    if (rtn.substr(0, 3) === &#8220;rgb&#8221;) rtn = rgb2Hex(rtn);</p>
<p>    return rtn;</p>
<p>  }</p>
<p>  else { // IE</p>
<p>    var rng = document.body.createTextRange();</p>
<p>    rng.moveToElementText(d);</p>
<p>    rng.execCommand(&#8216;ForeColor&#8217;, false, colour);</p>
<p>    var iClr = rng.queryCommandValue(&#8216;ForeColor&#8217;);</p>
<p>    var rgb = &#8220;rgb(&#8220;+(iClr &#38; 0xFF)+&#8221;, &#8220;+((iClr &#38; 0xFF00)&#62;&#62;8)+&#8221;, &#8220;+((iClr &#38; 0xFF0000)&#62;&#62;16)+&#8221;)&#8221;;</p>
<p>    d.parentNode.removeChild(d);</p>
<p>    rng = null;</p>
<p>    return rgb2Hex(rgb);</p>
<p>  }</p>
<p>}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

