UIColor
public extension UIColor
GeneralUIColor.swift is an extension on the UIColor class that defines the colors shown in the color palette generated for this application. It also includes colors for "Facebook Blue" and "Google+ Red". These are used for social media buttons with GeneralUIButton on the Login and Create Account view controllers. - Note: Many of the colors in storyboard are not accurate since the colors are later set using these definitions. - SeeAlso: GeneralUIButton, GeneralUILabel, GeneralUITextField, GeneralUIViewController for UI components using this palette
-
Defined as
Isabellinein the color palette. This is the lightest color that is used for most text. The following values are this color’s representation in various color spaces:HEX: #edeeef RGB: 237 238 239 HSV: 210 1 94 CMYK: 1 0 0 6Declaration
Swift
public class var WHITE: UIColor -
Defined as
Silver Chalicein the color palette. This is the next color afterIsabellineand is used as a highlight color for theUINavigationBaras well as heading text (i.e. large text). The following values are this color’s representation in various color spaces:HEX: #a8aeaf RGB: 168 174 175 HSV: 189 4 69 CMYK: 4 1 0 31Declaration
Swift
public class var CREME: UIColor -
Defined as
Outter Spacein the color palette. This is the next color afterSilver Chaliceand is used as the background color forGeneralUITextField. The following values are this color’s representation in various color spaces:HEX: #414E51 RGB: 65 78 81 HSV: 191 20 32 CMYK: 20 4 0 68Declaration
Swift
public class var CHARCOAL: UIColor -
Defined as
Gunmetalin the color palette. This is the next color afterOutter Spaceand is used as the background color for all of theUIViewsinUIViewControllersof typeGeneralUIViewController. The following values are this color’s representation in various color spaces:HEX: #282d34 RGB: 40 45 52 HSV: 215 23 20 CMYK: 23 13 0 80Declaration
Swift
public class var BACKGROUND: UIColor -
Defined as
Raisin Blackin the color palette. This is the next color afterGunmetaland is used as the text colorGeneralUILabelfound on light backgrounds or more particularly for theLoginButtonfound on the main page of this application. The following values are this color’s representation in various color spaces:HEX: #1d2025 RGB: 29 32 37 HSV: 218 22 15 CMYK: 22 14 0 85Declaration
Swift
public class var BLACK: UIColor
-
Defined as
Light Red Ochirein the color palette. This color replaces allRedin the application. It can be used as aGeneralUIButtoncolor, orUIView. This can be seen in theNoiseMeterwhere this color indicates the loudest audio decibal range. The following values are this color’s representation in various color spaces:HEX: #ea6552 RGB: 234 101 82 HSV: 8 65 92 CMYK: 0 57 65 8Declaration
Swift
public class var RED: UIColor -
Defined as
Very Light Malachite Greenin the color palette. This color replaces allGreenin the application. It can be used as aGeneralUIButtoncolor, orUIView. This can be seen in theNoiseMeterwhere this color indicates an audio decibal range. The following values are this color’s representation in various color spaces:HEX: #58e69a RGB: 88 230 154 HSV: 148 62 90 CMYK: 62 0 33 10Declaration
Swift
public class var GREEN: UIColor -
Defined as
Pale Violetin the color palette. This color replaces allPurplein the application. It can be used as aGeneralUIButtoncolor, orUIView. This can be seen in theNoiseMeterwhere this color indicates an audio decibal range. The following values are this color’s representation in various color spaces:HEX: #d0a5ff RGB: 208 165 255 HSV: 269 35 100 CMYK: 18 35 0 0Declaration
Swift
public class var PURPLE: UIColor -
Defined as
Maya Bluein the color palette. This color replaces allBluein the application. It can be used as aGeneralUIButtoncolor, orUIView. This can be seen in theNoiseMeterwhere this color indicates an audio decibal range. The following values are this color’s representation in various color spaces:HEX: #7cc6fe RGB: 124 198 254 HSV: 206 51 100 CMYK: 51 22 0 0Declaration
Swift
public class var BLUE: UIColor -
Defined as
Macaroni and Cheesein the color palette. This color replaces allOrangein the application. It can be used as aGeneralUIButtoncolor, orUIView. This can be seen in theNoiseMeterwhere this color indicates an audio decibal range. The following values are this color’s representation in various color spaces:HEX: #ffc689 RGB: 255 198 137 HSV: 31 46 100 CMYK: 0 22 46 0Declaration
Swift
public class var ORANGE: UIColor
-
This is the official color designated by Facebook as their Facebook-Blue. This color was used as the background for the custom Facebook
GeneralUIButtonthat shows up on the Login and Create AccountViewControllers. The following values are this color’s representation in various color spaces:HEX: #3b5998 RGB: 59 89 152 HSV: 221 61 60 CMYK: 61 41 0 40Declaration
Swift
public class var FB_BLUE: UIColor -
This is the official color designated by Google as their Google-Red. This color was used as the background for the custom Google
GeneralUIButtonthat shows up on the Login and Create AccountViewControllers. The following values are this color’s representation in various color spaces:HEX: #dd4b39 RGB: 221 75 57 HSV: 7 74 87 CMYK: 0 66 74 13Declaration
Swift
public class var GOOGLE_RED: UIColor
View on GitHub
UIColor Extension Reference