ColorRgb8.from constructor

ColorRgb8.from(
  1. ColorUint8 other
)

Implementation

ColorRgb8.from(ColorUint8 other) : super(3) {
  data[0] = other[0] as int;
  data[1] = other[1] as int;
  data[2] = other[2] as int;
}