Specifications:
1. Color ints:
The color int always defines a color in the color space using 4 components packed in a single 32-bit integer value:
Component Size Range
Brightness 8 bits [0…255]
Red 8 bits [0…255]
Green 8 bits [0…255]
Blue 8 bits [0…255]
2. Command:
Send change LED broadcast shell command (root):
am broadcast -a action.CHANGE_LED_COLOR --ei color x
x is a decimal number.
3. Hexadecimal and decimal conversion tables.
Brightness: 0B; Color: 01 light, 70 deep (hexadecimal)
Color Hexadecimal Decimal
Dark red 0B700000 191889408
Dark green 0B007000 184578048
Dark blue 0B000070 184549488
Light red 0B010000 184614912
Light green 0B000100 184549632
Light blue 0B000001 184549377
Yellow 0B707000 191918080
Purple 0B700070 191889520
White 0B707070 191918192
Close the lamp 0 0