Font color, css font color

Source: Internet
Author: User

Font color, css font color

# Define QUICKRGB (r, g, B) [UIColor colorWithRed: r/255.0 green: g/255.0 blue: B/255.0 alpha: 1.0]

# Define HEXCOLOR (hex) [UIColor colorWithHex: hex]

 

# Define UIColorFromRGB (rgbValue )\

[UIColor colorWithRed :( (float) (rgbValue & 0xFF0000)> 16)/255.0 \

Green :( (float) (rgbValue & 0xFF00)> 8)/255.0 \

Blue :( (float) (rgbValue & 0xFF)/255.0 alpha: 1.0]

 

// Random color, used for testing

# Define KColorRandomColor [UIColor colorWithRed: arc4random () % 255/255. 0 green: arc4random () % 255/255. 0 blue: arc4random () % 255/255. 0 alpha: 1.0]

 

 

# Define kDefaultGapHeight 10.0

# Define kDefaultGapColor QUICKRGB (245,244,242)

# Define kDefauttGapLineColor HEXCOLOR (0xe2e0de)

 

// The normal color and highlighted color of the content

# Define kContentColorNormal [UIColor colorWithRed: 57/255. 0 green: 32/255. 0 blue: 0/255. 0 alpha: 1]

# Define kContentColorHighlight [UIColor colorWithRed: 0/255. 0 green: 191/255. 0 blue: 225/255. 0 alpha: 1]

 

// TableView settings

// Set the color of the TableView split line

# Define kSeparatorColor [UIColor colorWithRed: 154/255. 0 green: 154/255. 0 blue: 154/255. 0 alpha: 1]

// Set the background color of TableView

# Define kTableViewBgColor [UIColor colorWithRed: 154/255. 0 green: 154/255. 0 blue: 154/255. 0 alpha: 1]

 

# Define kTabelViewLineColor UIColorFromRGB (0 xCBCCCD)

 

 

 

 

 

/*************************************** ***************************** *************************/

 

# Pragma mark-foreground color

/// Red 1

# Define KColor_Red_1 [UIColor colorWithHexString: @ "# FC6496"]

/// Red 2

# Define KColor_Red_2 [UIColor colorWithHexString: @ "# F94480"]

 

/// Green 1

# Define KColor_Green_1 [UIColor colorWithHexString: @ "#50D0C6"]

/// Green 2

# Define KColor_Green_2 [UIColor colorWithHexString: @ "# 27C7BB"]

/// Green 3

# Define KColor_Green_3 [UIColor colorWithHexString: @ "# 80DE6E"]

 

/// Blue 1

# Define KColor_Blue_1 [UIColor colorWithHexString: @ "#1AAFF4"]

/// Blue 2

# Define KColor_Blue_2 [UIColor colorWithHexString: @ "#59 BCFA"]

 

/// Yellow 1

# Define KColor_Yellow_1 [UIColor colorWithHexString: @ "# FFB141"]

 

/// Pure yellow

# Define kColor_Yellow_0 [UIColor colorWithHexString: @ "# FFFF00"]

 

/// Gray F

# Define KColor_Gray_F [UIColor colorWithHexString: @ "# FFFFFF"]

/// Gray C

# Define KColor_Gray_C [UIColor colorWithHexString: @ "# CCCCCC"]

/// Gray 9

# Define KColor_Gray_9 [UIColor colorWithHexString: @ "#999999"]

/// Gray 7

# Define KColor_Gray_7 [UIColor colorWithHexString: @ "#777777"]

/// Gray 3

# Define KColor_Gray_3 [UIColor colorWithHexString: @ "#333333"]

/// Gray 4

# Define KColor_Gray_4 [UIColor colorWithHexString: @ "# e7e7e7"]

/// Gray 5

# Define KColor_Gray_5 [UIColor colorWithHexString: @ "# eeeeded"]

/// Gray 6

# Define KColor_Gray_6 [UIColor colorWithHexString: @ "# f8f9fa"]

 

# Pragma mark-background color

/// Background color

# Define KColor_background [UIColor colorWithHexString: @ "# F2F2F2"]

 

# Define KLamaColor [UIColor colorWithHexString: @ "# FF6085"]

 

 

/// Card edge line

# Define KColor_Card_border [UIColor colorWithHexString: @ "# E2E2E2"]

/// Card internal Separator

# Define KColor_Card_separator [UIColor colorWithHexString: @ "# ECECEC"]

 

 

# Define kReadBlackColor [UIColor colorWithRed: 128/255. 0f green: 128/255. 0f blue: 128/255. 0f alpha: 1.0f]

# Define kDarkBlackColor [UIColor colorWithRed: 55/255. 0f green: 58/255. 0f blue: 70/255. 0f alpha: 1.0f]

 

# Define kNavItemColor [UIColor colorWithRed: 215/255. 0f green: 100/255. 0f blue: 100/255. 0f alpha: 1.0f]

# Define kLiteBlackColor [UIColor colorWithRed: 153/255. 0f green: 153/255. 0f blue: 153/255. 0f alpha: 1.0f]

 

# Define kBlackTextColor [UIColor colorWithRed: 53.0f/255.0f green: 57.0f/255.0f blue: 66.0f/255.0f alpha: 1.0f]

 

# Define kLightGrayTextColor [UIColor colorWithRed: 133.0f/255.0f green: 136.0f/255.0f blue: 140366f/255.0f alpha: 1.0f]

# Define kDarkBackgroudColor [UIColor colorWithRed: 53.0f/255.0f green: 57.0f/255.0f blue: 66.0f/255.0f alpha: 1.0f]

 

 

# Define kBlackTextColor [UIColor colorWithRed: 53.0f/255.0f green: 57.0f/255.0f blue: 66.0f/255.0f alpha: 1.0f]

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.