Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-20-2010, 05:25 PM   #1 (permalink)
Registered Member
 
AppStoreMod's Avatar
 
Join Date: Jul 2009
Location: Sacramento,CA
Posts: 90
Send a message via Skype™ to AppStoreMod
Default RGBColors

Hi, I am trying to change the drawing color to Blue, White, Black. What are the RGB colors for it? I know that this is red.

Code:
CGContextSetRGBStrokeColor(UIGraphicsGetCurrentContext(), 1.0, 0.0, 0.0, 1.0);
Thanks
__________________
- AppStoreMod
Youtube | Website | Twitter | Xcode Video Tutorials | AppStoreApps
AppStoreMod is offline   Reply With Quote
Old 02-20-2010, 05:55 PM   #2 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 341
Default

Blue: 0.0, 0.0, 1.0, 0.0
White: 1.0, 1.0, 1.0, 1.0
Black: 0.0, 0.0, 0.0, 1.0
flamingliquid is offline   Reply With Quote
Old 02-20-2010, 05:57 PM   #3 (permalink)
Elegance is Infinite
iPhone Dev SDK Supporter
 
TapTouchClick's Avatar
 
Join Date: Jan 2010
Location: Bay Area, CA
Posts: 677
Send a message via AIM to TapTouchClick Send a message via Skype™ to TapTouchClick
Default

Where can we get a full list of these?
__________________
Our website
TapTouchClick is offline   Reply With Quote
Old 02-20-2010, 05:58 PM   #4 (permalink)
Elegance is Infinite
iPhone Dev SDK Supporter
 
TapTouchClick's Avatar
 
Join Date: Jan 2010
Location: Bay Area, CA
Posts: 677
Send a message via AIM to TapTouchClick Send a message via Skype™ to TapTouchClick
Default

Oh! I just realized its mixing light! I know how to get combinations! Sorry
__________________
Our website
TapTouchClick is offline   Reply With Quote
Old 02-20-2010, 05:59 PM   #5 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,886
Default

Very useful tool:
Developer Color Picker

Tom
harrytheshark is offline   Reply With Quote
Old 02-20-2010, 07:39 PM   #6 (permalink)
Obj-C Learner
 
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
Send a message via MSN to ZunePod Send a message via Yahoo to ZunePod
Default

I wish people could spell colour.
__________________
Will code for food
ZunePod is offline   Reply With Quote
Old 02-20-2010, 07:40 PM   #7 (permalink)
iPhone SDK learner
 
Join Date: Feb 2010
Location: Illinois, USA
Posts: 417
Default

Quote:
Originally Posted by ZunePod View Post
I wish people could spell colour.
i love how english people spell that
Batman is offline   Reply With Quote
Old 02-20-2010, 07:42 PM   #8 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,886
Default

There are obviously two different spellings for it. Us Brits use "Colour" and Americans use "Color". Both are right.
harrytheshark is offline   Reply With Quote
Old 02-20-2010, 07:43 PM   #9 (permalink)
Obj-C Learner
 
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
Send a message via MSN to ZunePod Send a message via Yahoo to ZunePod
Default

Leaving the U out is so so lazy.
__________________
Will code for food
ZunePod is offline   Reply With Quote
Old 02-20-2010, 07:44 PM   #10 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,886
Default

It's not about being lazy, that's the way they spell it. We spell centre differently as well. Try not to lose sleep over it
harrytheshark is offline   Reply With Quote
Old 02-20-2010, 07:45 PM   #11 (permalink)
iPhone SDK learner
 
Join Date: Feb 2010
Location: Illinois, USA
Posts: 417
Default

Quote:
Originally Posted by harrytheshark View Post
It's not about being lazy, that's the way they spell it. We spell centre differently as well. Try not to lose sleep over it
you no, everyone on this forum seems british. haven's seen many posts saying they live in USA, just somewhere in britain.
Batman is offline   Reply With Quote
Old 02-20-2010, 07:50 PM   #12 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,886
Default

It's so when we spell stuff differently, we don't look stupid
harrytheshark is offline   Reply With Quote
Reply

Bookmarks

Tags
black, blue, color, rgb, rgbcolors

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 286
21 members and 265 guests
2WeeksToGo, ADY, apatsufas, ckgni, dacapo, Dani77, Fritzer, ghost, HDshot, headkaze, jakerocheleau, joeallenpro, masc2279, mer10, mystic.purple, objch, Rudy, tathaastu, themathminister, timle8n1, Zool
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,878
Threads: 89,223
Posts: 380,731
Top Poster: BrianSlick (7,129)
Welcome to our newest member, olga2000
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:38 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0