The Randi
inner case class provides an implementation of the 'igen'
method eliminating any dependency of the 'random' package.
Generate (somewhat randomly) an RGB color, based on the object's id.
Generate (somewhat randomly) an RGB color, based on the object's id. It randomizes off of 27/25 base colors that include all the 16 colors specified by W3C, except silver.
the identifier/index for some object
whether to use all 27 color bases or exclude black and white
http://www.w3.org/TR/css3-color
The
Colors
convenience object defines numerous common colors. Source of colors: http://www.webmoments.com/colorchart.htm