for 20 distinct colors i created an array from https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/:
var CSS_COLOR_NAMES = ["Red", "Green", "Yellow", "Blue", "Orange", "Purple", "Cyan", "Magenta", "Lime", "Pink", "Teal", "Lavender", "Brown", "Beige", "Maroon", "Mint", "Olive", "Coral", "Navy", "Grey", "White", "Black"];