android的 色值 整型跟16进制表示法是一直的,都带上alpha 通道,即ARGB Constants public static final int BLACK Since: API Level 1 Constant Value: -16777216 (0xff000000) public static final int BLUE Since: API Level 1 Constant Value: -16776961 (0xff0000ff) public static final int CYAN Since: API Level 1 Constant Value: -16711681 (0xff00ffff) public static final int DKGRAY Since: API Level 1 Constant Value: -12303292 (0xff444444) public static final int GRAY Since: API Level 1 Constant Value: -7829368 (0xff888888) public static final int GREEN Since: API Level 1 Constant Value: -16711936 (0xff00ff00) public static final int LTGRAY Since: API Level 1 Constant Value: -3355444 (0xffcccccc) public static final int MAGENTA Since: API Level 1 Constant Value: -65281 (0xffff00ff) public static final int RED Since: API Level 1 Constant Value: -65536 (0xffff0000) public static final int TRANSPARENT Since: API Level 1 Constant Value: 0 (0x00000000) public static final int WHITE Since: API Level 1 Constant Value: -1 (0xffffffff) public static final int YELLOW Since: API Level 1 Constant Value: -256 (0xffffff00) 字体 使用: Typeface 类