ColorService

new ColorService()

Service for providing and selecting colors for participants.

Methods

getRandom(alreadyUsedColors) → {string}

Get a random color not already used.

Parameters:
NameTypeDescription
alreadyUsedColorsArray

Array of colors already used

Returns:

A random color string

Type: 
string