android 解析服务端下发的,颜色值 可以使用 Color.parseColor(myPassedColor))
in android, myPassedColor being the hex value like #000 or #000000 or #00000000
Parse the color string, and return the corresponding color-int. If the string cannot be parsed, throws an IllegalArgumentException exception. Supported formats are: #RRGGBB #AARRGGBB 'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow', 'lightgray', 'darkgray'