X set(num r, num g, num b, num a) { this.r = r.toInt(); this.g = g.toInt(); this.b = b.toInt(); this.a = a.toInt(); return this as X; }