Class: Color

Color

Color

new Color(r, g, b) → {Color}

Defines an RGB color.
Parameters:
Name Type Description
r Number A normalized value for red.
g Number A normalized value for green.
b Number A normalized value for blue.
Author:
  • thegoldenmule
Source:
Returns:
Type
Color

Methods

white()

RGB -> (1, 1, 1)
Source: