factory Color.fromArray(List<int> list) { var color = Color.setRGB255(list[0], list[1], list[2]); return color; }