Color.rgb constructor

const Color.rgb(
  1. int red,
  2. int green,
  3. int blue
)

Creates an rgb(...) color.

Implementation

const Color.rgb(int red, int green, int blue)
  : value = 'rgb($red, $green, $blue)';