A boy who was diagnosed with a rare bowel condition after he turned green raises hundreds for charity.