Color | CraytaKit
Skip to main content

Color

Constructors

Constructor NameReturn TypeDescriptionTags
Color.New(number red, number green, number blue, number alpha)ColorConstructs a Color with the given values
Color.New(number red, number green, number blue)ColorConstructs a Color with the given values

Properties

Property NameReturn TypeDescriptionTags
rednumberThe Red component of the ColorRead-Write
greennumberThe Green component of the ColorRead-Write
bluenumberThe Blue component of the ColorRead-Write
alphanumberThe Alpha component of the ColorRead-Write

Examples

© 2021 CraytaKit