arjuna.engine.data.generator.color module

class arjuna.engine.data.generator.color.Color

Bases: object

classmethod color(*, locale='en') str

Generate a random color string.

Keyword Arguments

locale – (Optional) locale for generating street name

Returns

A generated color

classmethod hex_color() str

Generate a hex color code.

Returns

A generated hex color code string

classmethod rgb_color() tuple

Generate an rgb color tuple.

Returns

RGB tuple