Recently, a lawsuit was filed against Mars, the company that makes Skittles, claiming that the use of titanium dioxide in the candy makes it "unfit for human consumption". Titanium dioxide is a color additive that has been on the market for decades and is used in many food products. The lawsuit alleges that people who consume Skittles "are at heightened risk of a host of health effects for which they were unaware stemming from genotoxicity – the ability of a chemical substance to change DNA". Mars had publicly committed in 2016 to phase out the use of titanium dioxide in its products over the next five years, but the lawsuit alleges that the company "flouted its own promise to consumers" and continued to sell Skittles with titanium dioxide, posing a "significant health risk to unsuspecting consumers".
However, it is important to note that Skittles wont be banned in California, but some foods might soon have their recipes tweaked. Assembly Bill 418 bans some ingredients in food products, but Skittles doesnt contain any of them. The confusion stems from an old version of the bill that included titanium dioxide, which is in Skittles. Titanium dioxide is no longer included in the ban.
In summary, Skittles are still available for purchase, but there is a lawsuit against Mars alleging that the candy is "unfit for human consumption" due to the use of titanium dioxide.