<?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>Aaron Jefferson Villanueva&#039;s Blog Site&#187; DigitalColor Meter</title>
	<atom:link href="http://malebolgia.shadowsonawall.net/tag/digitalcolor-meter/feed" rel="self" type="application/rss+xml" />
	<link>http://malebolgia.shadowsonawall.net</link>
	<description>Programming / Designing Blogging from windows to mac.</description>
	<lastBuildDate>Fri, 20 May 2011 12:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>UIColor Color Codes</title>
		<link>http://malebolgia.shadowsonawall.net/code-programming/uicolor-color-codes.html</link>
		<comments>http://malebolgia.shadowsonawall.net/code-programming/uicolor-color-codes.html#comments</comments>
		<pubDate>Sun, 18 Apr 2010 19:53:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding/Programming]]></category>
		<category><![CDATA[Objective C / Cocoa Touch [iPhone]]]></category>
		<category><![CDATA[DigitalColor Meter]]></category>
		<category><![CDATA[mac OS 10.5]]></category>
		<category><![CDATA[RGB values]]></category>
		<category><![CDATA[UIColor]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://malebolgia.shadowsonawall.net/?p=239</guid>
		<description><![CDATA[



I Just realize how hard it was to just assign RGB Values color by code using UIColor, Well heres a little work around. Using the utilities in mac, which will you can find at Applications/Utilities folder. Open it.  


  


Make sure you selected "RGB As Percentage",  Use your mouse to move the [...]]]></description>
			<content:encoded><![CDATA[<p>
<a title="Utilities DigitalColor Icon" rel="rokzoom[digital]" href="http://malebolgia.shadowsonawall.net/images/digitalcolor/Utilities.png">
<img title="DigitalColor Meter Icon" src="http://malebolgia.shadowsonawall.net/images/digitalcolor/DigitalColorMeterIcon.png" alt="DigitalColor Meter Icon" width="133" height="110" align="right" hspace="10"   />
</a>
I Just realize how hard it was to just assign RGB Values color by code using UIColor, Well heres a little work around. Using the utilities in <strong><span style="color: #333300;">mac</span></strong>, which will you can find at <strong><span style="color: #ff0000;">Applications/Utilities</span></strong> folder. Open it.  

<br /><br /><br /><br />
<img title="DigitalColor Meter" src="http://malebolgia.shadowsonawall.net/images/digitalcolor/DigitalColorMeter.png" alt="DigitalColor Meter"  />  
<br /><br />

Make sure you selected <span style="color: #000080;"><em>"RGB As Percentage"</em></span>,  Use your mouse to move the cursor over the pixel you want to sample, and read off the values, once you got the color you want; press<span style="color: #800000;"><span style="text-decoration: underline;"> Command-Shift-H</span></span>, This will hold the color values you got for the moment. <span style="text-decoration: underline;"><span style="color: #800000;">Press F4</span></span> for Dashboard use calculator, 

<br /><br />
<img title="Dashboard Calculator" src="http://malebolgia.shadowsonawall.net/images/digitalcolor/DigitalColorMeterCalculator.png" alt="Dashboard Calculator"  />  
<br /><br />

Divide the values you got to 100, for example <span style="color: #333399;"><strong>R%: 78.8 = .788</strong></span>; Then you can finally put the RGB values on your <span style="color: #993366;"><strong>UIColor parameter</strong></span>.

<br /><br />
<img title="UIColor" src="http://malebolgia.shadowsonawall.net/images/digitalcolor/UIColor.png" alt="UIColor"  />  
<br /><br />


<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #6e371a;">#define COLOR_FOR_THIS [UIColor colorWithRed:0.788f green:0.207f blue:0.271f alpha:1.0f]</span></pre></div></div>




</p>
]]></content:encoded>
			<wfw:commentRss>http://malebolgia.shadowsonawall.net/code-programming/uicolor-color-codes.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

