Given the following code to generate random colors (credit):
'#'+((1<<24)*(Math.random()+1)|0).toString(16).substr(1)
What conditions can be added to this code, in order to make it produce only bright colors but darker than pure white #ffffff
.
The elements which are assigned these colors, need to be displayed on a dark background (#111
).