Making the random color logic choose 2, 3 or 4 colors and add asterisks to the key ones