Material.get_color

Material.get_color()[source]

Get the RGBA color array of the material.

Returns:
Color

Color of the material.

Examples

>>> material = Material('aqua')
>>> material.get_color()
Color(0.0, 1.0, 1.0, alpha=1.0)