Color.setRGB255 constructor

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

Implementation

factory Color.setRGB255(int r, int g, int b) {
  var _color = Color(r / 255.0, g / 255.0, b / 255.0);

  return _color;
}