colorRes.h
#import <Foundation/Foundation.h>
@interface ColorRes : NSObject
+(UIColor*)getRedColor;
+(UIColor*)getWhiteColor;
+(UIColor*)getGrayColor;
+(UIColor*)getBlueColor;
+(UIColor*)getBlackColor;
+(UIColor*)getTextFieldBGColor;
+(UIColor*)getButtonRedColor;
+(UIColor*)getViewBackgroundColor;
+(UIColor*)getClearColor;
+(UIColor*)getGrayTextColor;
+(UIColor*)getPinkColor;
+(UIColor*)getTextColor;
+(UIColor*)getOrchidColor;
+(UIColor*)getGreenColor;
+(UIColor*)getPinkColorForMenu;
+(UIColor *)getViewBackgroundColor1;
+(UIColor*)getimilabelTextColor;
@end
#import <UIKit/UIKit.h>
#import "ColorRes.h"
@implementation ColorRes
+(UIColor *)getRedColor{
return [UIColor colorWithRed:237.0/255.0 green:28.0/255.0 blue:36.0/255.0 alpha:0.9];
}
+(UIColor *)getWhiteColor{
return [UIColor whiteColor];
}
+(UIColor *)getTextFieldBGColor{
return [UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:1.0];
}
+(UIColor *)getGrayColor{
return [UIColor colorWithRed:128.0/255.0 green:128.0/255.0 blue:128.0/255.0 alpha:1.0];
}
+(UIColor *)getBlueColor{
return [UIColor colorWithRed:27.0/255.0 green:144.0/255.0 blue:253.0/255.0 alpha:0.9];
}
+(UIColor *)getBlackColor{
return [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];
}
+(UIColor *)getButtonRedColor{
return [UIColor colorWithRed:237.0/255.0 green:28.0/255.0 blue:36.0/255.0 alpha:1];
}
+(UIColor *)getViewBackgroundColor{
return [UIColor colorWithRed:209.0/255.0 green:210.0/255.0 blue:211.0/255.0 alpha:0.5];
}
+(UIColor*)getClearColor
{
return [UIColor clearColor];
}
+(UIColor *)getViewBackgroundColor1{
return [UIColor colorWithRed:222.0/255.0 green:228.0/255.0 blue:228.0/255.0 alpha:1];
}
+(UIColor*)getGrayTextColor
{
return[UIColor colorWithRed:188.0/255.0 green:188.0/255.0 blue:188.0/255.0 alpha:1];
}
+(UIColor*)getPinkColor
{
return[UIColor colorWithRed:254.0/255.0 green:64.0/255.0 blue:129.0/255.0 alpha:1];
}
+(UIColor*)getPinkColorForMenu
{
return[UIColor colorWithRed:254.0/255.0 green:64.0/255.0 blue:129.0/255.0 alpha:0.6];
}
+(UIColor*)getTextColor
{
return[UIColor colorWithRed:8.0/255.0 green:8.0/255.0 blue:8.0/255.0 alpha:1];
}
+(UIColor*)getOrchidColor
{
return[UIColor colorWithRed:59.0/255.0 green:77.0/255.0 blue:174.0/255.0 alpha:1];
}
+(UIColor*)getGreenColor
{
return [UIColor colorWithRed:0.0/255.0 green:128.0/255.0 blue:64.0/255.0 alpha:1];
}
+(UIColor*)getimilabelTextColor
{
return [UIColor colorWithRed:0.0/255.0 green:131.0/255.0 blue:191.0/255.0 alpha:1];
}
@end
Sign up here with your email
ConversionConversion EmoticonEmoticon