Colors to be used with a light or Vector’s screen.
||A Color to be used with a Light or Vector’s screen.|
Color(int_color=None, rgb=None, name=None)¶
A Color to be used with a Light or Vector’s screen.
Either int_color or rgb may be used to specify the actual color. Any alpha components (from int_color) are ignored - all colors are fully opaque.
bytes – Two bytes representing an int16 color with rgb565 encoding.
This format reflects the robot’s Screen color range, and performing this conversion will reduce network traffic when sending Screen data.
off= <anki_vector.color.Color object>¶
Color– Instance representing no color (i.e., lights off).