Color.rgb constructor

const Color.rgb(
  1. int r,
  2. int g,
  3. int b
)

RGB color.

Each channel should be between 0 and 255, inclusive.

Implementation

const Color.rgb(int r, int g, int b) : this.rgba(r, g, b, 1);