color
Adds a new Color instance to the skin.
Return
a new instance of Color.
Parameters
name
name of the color.
red
red color component in range of 0, 1.
green
green color component in range of 0, 1.
blue
blue color component in range of 0, 1.
alpha
alpha (transparency) color component in range of 0, 1. Defaults to 1f.