Skip to content

Instantly share code, notes, and snippets.

@zhaoyswd
Created September 1, 2013 11:00
Show Gist options
  • Save zhaoyswd/6403753 to your computer and use it in GitHub Desktop.
Save zhaoyswd/6403753 to your computer and use it in GitHub Desktop.
//
// UIColor+iOS7Colors.m
// iOS7Colors
//
// Created by claaslange on 23.08.13.
//
//
#import "UIColor+iOS7Colors.h"
@implementation UIColor (iOS7Colors)
+ (instancetype)iOS7redColor;
{
return [UIColor colorWithRed:1.0f green:0.22f blue:0.22f alpha:1.0f];
}
+ (instancetype)iOS7orangeColor;
{
return [UIColor colorWithRed:1.0f green:0.58f blue:0.21f alpha:1.0f];
}
+ (instancetype)iOS7yellowColor;
{
return [UIColor colorWithRed:1.0f green:0.79f blue:0.28f alpha:1.0f];
}
+ (instancetype)iOS7greenColor;
{
return [UIColor colorWithRed:0.27f green:0.85f blue:0.46f alpha:1.0f];
}
+ (instancetype)iOS7lightBlueColor;
{
return [UIColor colorWithRed:0.18f green:0.67f blue:0.84f alpha:1.0f];
}
+ (instancetype)iOS7darkBlueColor;
{
return [UIColor colorWithRed:0.0f green:0.49f blue:0.96f alpha:1.0f];
}
+ (instancetype)iOS7purpleColor;
{
return [UIColor colorWithRed:0.35f green:0.35f blue:0.81f alpha:1.0f];
}
+ (instancetype)iOS7pinkColor;
{
return [UIColor colorWithRed:1.0f green:0.17f blue:0.34f alpha:1.0f];
}
+ (instancetype)iOS7darkGrayColor;
{
return [UIColor colorWithRed:0.56f green:0.56f blue:0.58f alpha:1.0f];
}
+ (instancetype)iOS7lightGrayColor;
{
return [UIColor colorWithRed:0.78f green:0.78f blue:0.8f alpha:1.0f];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment