Objective-C
iOS

Flat UI ColorsをUIColorで表現してみた

More than 3 years have passed since last update.

有りそうで無かったのでFlat UI ColorsをUIColorで表現してみた。

UIColor *turquoiseFlatColor = [UIColor colorWithRed:0.10196078431372549 green:0.7372549019607844 blue:0.611764705882353 alpha:1.0];
UIColor *greenSeaFlatColor = [UIColor colorWithRed:0.08627450980392157 green:0.6274509803921569 blue:0.5215686274509804 alpha:1.0];
UIColor *emeraldFlatColor = [UIColor colorWithRed:0.1803921568627451 green:0.8 blue:0.44313725490196076 alpha:1.0];
UIColor *nephritisFlatColor = [UIColor colorWithRed:0.15294117647058825 green:0.6823529411764706 blue:0.3764705882352941 alpha:1.0];
UIColor *peterRiverFlatColor = [UIColor colorWithRed:0.20392156862745098 green:0.596078431372549 blue:0.8588235294117647 alpha:1.0];
UIColor *belizeHoleFlatColor = [UIColor colorWithRed:0.1607843137254902 green:0.5019607843137255 blue:0.7254901960784313 alpha:1.0];
UIColor *amethystFlatColor = [UIColor colorWithRed:0.6078431372549019 green:0.34901960784313724 blue:0.7137254901960784 alpha:1.0];
UIColor *wisteriaFlatColor = [UIColor colorWithRed:0.5568627450980392 green:0.26666666666666666 blue:0.6784313725490196 alpha:1.0];
UIColor *wetAsphaltFlatColor = [UIColor colorWithRed:0.20392156862745098 green:0.28627450980392155 blue:0.3686274509803922 alpha:1.0];
UIColor *midnightBlueFlatColor = [UIColor colorWithRed:0.17254901960784313 green:0.24313725490196078 blue:0.3137254901960784 alpha:1.0];
UIColor *sunFlowerFlatColor = [UIColor colorWithRed:0.9450980392156862 green:0.7686274509803922 blue:0.058823529411764705 alpha:1.0];
UIColor *orangeFlatColor = [UIColor colorWithRed:0.9529411764705882 green:0.611764705882353 blue:0.07058823529411765 alpha:1.0];
UIColor *carrotFlatColor = [UIColor colorWithRed:0.9019607843137255 green:0.49411764705882355 blue:0.13333333333333333 alpha:1.0];
UIColor *pumpkinFlatColor = [UIColor colorWithRed:0.8274509803921568 green:0.32941176470588235 blue:0.0 alpha:1.0];
UIColor *alizarinFlatColor = [UIColor colorWithRed:0.9058823529411765 green:0.2980392156862745 blue:0.23529411764705882 alpha:1.0];
UIColor *pomegranateFlatColor = [UIColor colorWithRed:0.7529411764705882 green:0.2235294117647059 blue:0.16862745098039217 alpha:1.0];
UIColor *cloudsFlatColor = [UIColor colorWithRed:0.9254901960784314 green:0.9411764705882353 blue:0.9450980392156862 alpha:1.0];
UIColor *silverFlatColor = [UIColor colorWithRed:0.7411764705882353 green:0.7647058823529411 blue:0.7803921568627451 alpha:1.0];
UIColor *concreteFlatColor = [UIColor colorWithRed:0.5843137254901961 green:0.6470588235294118 blue:0.6509803921568628 alpha:1.0];
UIColor *asbestosFlatColor = [UIColor colorWithRed:0.4980392156862745 green:0.5490196078431373 blue:0.5529411764705883 alpha:1.0];

UIColor+FlatUIも作ってみた。
https://github.com/makotokw/CocoaWZYFlatUIColor

ついでにiOS7Colorsも少し。

WZYFlatUIColor.png