天天看點

android系統提供的幾種顔色Color

記錄一下android自帶顔色。

Constants

public static final int BLACK

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

android系統提供的幾種顔色Color

public static final int BLUE

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

android系統提供的幾種顔色Color

public static final int CYAN

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

android系統提供的幾種顔色Color

public static final int DKGRAY

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

android系統提供的幾種顔色Color

public static final int GRAY

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

android系統提供的幾種顔色Color

public static final int GREEN

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

android系統提供的幾種顔色Color

public static final int LTGRAY

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

android系統提供的幾種顔色Color

public static final int MAGENTA

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

android系統提供的幾種顔色Color

public static final int RED

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

android系統提供的幾種顔色Color

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)                 

android系統提供的幾種顔色Color

public static final int YELLOW

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

android系統提供的幾種顔色Color

繼續閱讀