Private constructorReadonly entityThe entity that owns this component. The entity will be undefined if it has been removed.
Readonly typeIdentifier of the component.
Readonly valueValue of this particular color.
This property can throw when used.
Static Readonly componentWhether the component is valid.
This function is deprecated and will be removed in 2.0.0.
Returns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.
Defines the entity's secondary color. Only works on certain entities that have secondary predefined color values (e.g., tropical fish).