Skip to content

Instantly share code, notes, and snippets.

@Pasanpr
Created November 22, 2016 19:27
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pasanpr/c934924c73d6201d4a39a0c3aca39bdd to your computer and use it in GitHub Desktop.
Save Pasanpr/c934924c73d6201d4a39a0c3aca39bdd to your computer and use it in GitHub Desktop.
Build a Simple iPhone App - Colors array code
let colors = [
UIColor(red: 90/255.0, green: 187/255.0, blue: 181/255.0, alpha: 1.0), //teal color
UIColor(red: 222/255.0, green: 171/255.0, blue: 66/255.0, alpha: 1.0), //yellow color
UIColor(red: 223/255.0, green: 86/255.0, blue: 94/255.0, alpha: 1.0), //red color
UIColor(red: 239/255.0, green: 130/255.0, blue: 100/255.0, alpha: 1.0), //orange color
UIColor(red: 77/255.0, green: 75/255.0, blue: 82/255.0, alpha: 1.0), //dark color
UIColor(red: 105/255.0, green: 94/255.0, blue: 133/255.0, alpha: 1.0), //purple color
UIColor(red: 85/255.0, green: 176/255.0, blue: 112/255.0, alpha: 1.0), //green color
]
@CrazyBeans7
Copy link

cool

@Michael-Benton
Copy link

Very helpful. Thank you!

@RaduAlbastroiu
Copy link

Great job man!

@ilgulee
Copy link

ilgulee commented May 12, 2018

Thanks

@pcachia
Copy link

pcachia commented Apr 14, 2019

yeah yeah thankyouverymuch!

@TimurAsayonok
Copy link

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment