Color - Kirix Documentation

Developer Resources

Color

Overview

The Color class represents a color as a combination of red, green, and blue values.

Constructor

Color(red : Integer, green : Integer, blue : Integer)

Arguments

red
The red portion of the color.
green
The green portion of the color.
blue
The blue portion of the color.

Properties

red
An Integer representing the red portion of the color.
green
An Integer representing the green portion of the color.
blue
An Integer representing the blue portion of the color.