public override bool Equals(Object obj) { ColorRGB color = (ColorRGB)obj; return(color.r.Equals(r) && color.g.Equals(g) && color.b.Equals(b)); }
public ColorRGB(ColorRGB colorObj) { r = colorObj.r; g = colorObj.g; b = colorObj.b; }