Each attachment object has r
, g
, b
and a
fields. Those are its color and it is shared across all skeletons that would use its color.
However, changing the color of the slot is recommended if you want to animate the color. Slot also has r
, g
, b
and a
.
Note that colors range from 0f to 1f as a float, not 0 to 255 as a byte.