seika.color

Color

Engine representation of color.

Properties

r : float

Red color.

g : float

Green color.

b : float

Blue color.

a : float

Alpha or transparency of the color.


Methods

Static functions that return specific values

WHITE() -> Color(1.0, 1.0, 1.0, 1.0):
BLACK() -> Color(0.0, 0.0, 0.0, 1.0):
RED() -> Color(1.0, 0.0, 0.0, 1.0):
GREEN() -> Color(0.0, 1.0, 0.0, 1.0):
BLUE() -> Color(0.0, 0.0, 1.0, 1.0):