addColor

@Contract(value = "_ -> this", mutates = "this")
abstract fun addColor(color: Color): FireworkEffect.Builder

Adds the given color to the list of colours displayed by the firework effect when it explodes.

Return

this builder

Parameters

color

the colour to add