Skip to content

Instantly share code, notes, and snippets.

@jerriep
Created September 28, 2013 06:05
Show Gist options
  • Select an option

  • Save jerriep/6738964 to your computer and use it in GitHub Desktop.

Select an option

Save jerriep/6738964 to your computer and use it in GitHub Desktop.
C# declarations for the color definitions from flatuicolors.com. For use with Xamarin.iOS
using System;
using MonoTouch.UIKit;
namespace OneLove
{
public static class FlatUIColors
{
public static UIColor TurqoiseColor = UIColor.FromRGBA(26, 188, 156, 100);
public static UIColor GreenSeaColor = UIColor.FromRGBA(22, 160, 133, 100);
public static UIColor EmeraldColor = UIColor.FromRGBA(46, 204, 113, 100);
public static UIColor NephritisColor = UIColor.FromRGBA(39, 174, 96, 100);
public static UIColor PeterRiverColor = UIColor.FromRGBA(52, 152, 219, 100);
public static UIColor BelizeHoleColor = UIColor.FromRGBA(41, 128, 185, 100);
public static UIColor WetAsphaltColor = UIColor.FromRGBA(52, 73, 94, 100);
public static UIColor MidnightBlueColor = UIColor.FromRGBA(44, 62, 80, 100);
public static UIColor SunFlowerColor = UIColor.FromRGBA(241, 196, 15, 100);
public static UIColor OrangeColor = UIColor.FromRGBA(243, 156, 18, 100);
public static UIColor CarrotColor = UIColor.FromRGBA(230, 126, 34, 100);
public static UIColor PumpkinColor = UIColor.FromRGBA(211, 84, 0, 100);
public static UIColor AlizarinColor = UIColor.FromRGBA(231, 76, 60, 100);
public static UIColor PomegranateColor = UIColor.FromRGBA(192, 57, 43, 100);
public static UIColor CloudsColor = UIColor.FromRGBA(236, 240, 241, 100);
public static UIColor SilverColor = UIColor.FromRGBA(189, 195, 199, 100);
public static UIColor ConcreteColor = UIColor.FromRGBA(149, 165, 166, 100);
public static UIColor AsbestosColor = UIColor.FromRGBA(127, 140, 141, 100);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment