android系统提供的几种颜色Color

记录一下android自带颜色。

Constants

public static final int BLACK

Added in  API level 1
Constant Value:  -16777216 (0xff000000)       

public static final int BLUE

Added in  API level 1
Constant Value: -16776961 (0xff0000ff)         

public static final int CYAN

Added in  API level 1
Constant Value: -16711681 (0xff00ffff)            

public static final int DKGRAY

Added in  API level 1
Constant Value: -12303292 (0xff444444)       

public static final int GRAY

Added in  API level 1
Constant Value: -7829368 (0xff888888)        

public static final int GREEN

Added in  API level 1
Constant Value: -16711936 (0xff00ff00)       

public static final int LTGRAY

Added in  API level 1
Constant Value: -3355444 (0xffcccccc)         

public static final int MAGENTA

Added in  API level 1
Constant Value: -65281 (0xffff00ff)           

public static final int RED

Added in  API level 1
Constant Value: -65536 (0xffff0000)           

public static final int TRANSPARENT

Added in  API level 1
Constant Value: 0 (0x00000000)       透明的看不到  

public static final int WHITE

Added in  API level 1
Constant Value: -1 (0xffffffff)                 

public static final int YELLOW

Added in  API level 1
Constant Value: -256 (0xffffff00)             


你可能感兴趣的:(android日常笔记)