gs.textures.ColorTexture#

class genesis.options.textures.ColorTexture(*, color: float | List[float] = (1.0, 1.0, 1.0))[source]#

Bases: Texture

A texture that consists of a single color.

Parameters:

color (list of float) – A list of color values, stored as tuple, supporting any number of channels within the range [0.0, 1.0]. Default is (1.0, 1.0, 1.0).