Colors
The Colors
convenience object defines numerous common colors. Source of colors:
Attributes
- See also
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Colors.type
Members list
Type members
Classlikes
The Randi
inner case class provides an implementation of the 'igen' method eliminating any dependency of the 'random' package.
The Randi
inner case class provides an implementation of the 'igen' method eliminating any dependency of the 'random' package.
Value parameters
- a
-
the lower bound (inclusive)
- b
-
the upper bound (inclusive)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Types
Value members
Concrete methods
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.
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.
Value parameters
- full
-
whether to use all 27 color bases or exclude black and white
- id
-
the identifier/index for some object
Attributes
- See also