Color¶
- class shoebot.data.Color(*args, **kwargs)¶
Represents a single color.
Attributes (RGB and HSL) are values between 0 and 1
This stores color values as a list of 4 floats (RGBA) in a 0-1 range.
The value can come in the following flavours: - v - (v) - (v,a) - (r,g,b) - (r,g,b,a) - #RRGGBB - RRGGBB - #RRGGBBAA - RRGGBBAA
- property red¶
- property green¶
- property blue¶
- property alpha¶
- property data¶
- copy()¶