The candy brand has taken to social media and even paid for a full-page advertisement to remind people not to pelt a person with sweets, Billboard reported.
The advertisement appeared in the Los Angeles Times and reads, “Protect the rainbow. Taste the rainbow. But please, don’t throw the rainbow.”
Skittles published the advertisement after a video surfaced of a concertgoer throwing Skittles at Harry Styles’ face during an appearance.
Styles covered his eyes and continued taking bows, the “Today” show reported.
The ad in the LA Times wasn’t the only warning or reminder issued by Skittles.
The brand also posted to social media — “PSA: Protect your eyes from Skittles (by eating them, not throwing them.)” and “Didn’t think I needed to say this: Please don’t throw Skittles.”
This isn’t the first time food has been thrown at Styles while he has performed.
He has been hit by chicken nuggets, among other items.
Other stars have been hit by items thrown by audience members.
Spanish singer Rosalía was hit in the head by a bouquet of flowers and asked fans to not throw stuff at her, the Huff Post reported.
An audience member threw a disposable camera on stage and singer Steve Lacy smashed it on stage.
1 of 15
Photos: Harry Styles through the years Here are some memorable photos of former One Direction singer Harry Styles through the years. (Jordan Strauss/Invision/AP, File)
Photos: Harry Styles through the years 2010: Niall Horan, Louis Tomlinson, Zayn Malik, Harry Styles and Liam Payne of One Direction attend the Royal Film Performance and World Premiere of "The Chronicles of Narnia: The Voyage of the Dawn Treader" at Odeon Leicester Square on November 30, 2010, in London. (Gareth Cattermole/Getty Images)
Photos: Harry Styles through the years 2011: Harry Styles (left), Zayn Malik, Niall Horan, Louis Tomlinson and Liam Payne of One Direction attend the GQ Men of the Year Awards at the Royal Opera House on September 6, 2011, in London. (Chris Jackson/Getty Images)
Photos: Harry Styles through the years 2012: Louis Tomlinson, Liam Payne, Harry Styles, Zayn Malik and Niall Horan of One Direction perform onstage during Z100's Jingle Ball 2012, presented by Aeropostale, at Madison Square Garden on December 7, 2012, in New York City. (Kevin Kane/Getty Images for Jingle Ball 2012)
Photos: Harry Styles through the years 2013: Harry Styles attends the British Fashion Awards 2013 at London Coliseum on December 2, 2013, in London. (Stuart C. Wilson/Getty Images)
Photos: Harry Styles through the years 2014: Zayn Malik, Harry Styles, Liam Payne, Louis Tomlinson and Niall Horan of One Direction, winner of the British Video and Global Success BRIT awards, pose in the winners room at The BRIT Awards 2014 at 02 Arena on February 19, 2014, in London. (Anthony Harvey/Getty Images)
Photos: Harry Styles through the years 2015: Harry Styles, Liam Payne, Niall Horan and Louis Tomlinson of One Direction perform on ABC's "Good Morning America" at Rumsey Playfield, Central Park on August 4, 2015, in New York City. (Stephen Lovekin/Getty Images)
Photos: Harry Styles through the years 2016: Musician Joe Walsh, Marjorie Bach, singer Harry Styles, musician Ringo Starr and Barbara Bach attend the 2016 Pre-Grammy Gala and Salute to Industry Icons honoring Irving Azoff at the Beverly Hilton Hotel on February 14, 2016, in Beverly Hills, California. (Larry Busacca/Getty Images for NARAS)
Photos: Harry Styles through the years 2017: Singer Harry Styles performs on the runway during the 2017 Victoria's Secret Fashion Show in Shanghai at Mercedes-Benz Arena on November 20, 2017, in Shanghai, China. (Frazer Harrison/Getty Images for Victoria's Secret)
Photos: Harry Styles through the years 2018: Singer Harry Styles performs onstage during MusiCares Person of the Year honoring Fleetwood Mac at Radio City Music Hall on January 26, 2018, in New York City. (Steven Ferdman/Getty Images)
Photos: Harry Styles through the years 2019: Harry Styles attends the 2019 Met Gala Celebrating Camp: Notes on Fashion at Metropolitan Museum of Art on May 06, 2019, in New York City. (Dimitrios Kambouris/Getty Images for The Met Museum/Vogue)
Photos: Harry Styles through the years 2020: Harry Styles attends the BRIT Awards 2020 at the O2 Arena on February 18, 2020, in London. (Joe Maher/Getty Images for Bauer Media)
Photos: Harry Styles through the years 2021: Harry Styles performs onstage during the 63rd annual Grammy Awards at Los Angeles Convention Center in Los Angeles and broadcast on March 14, 2021. (Kevin Winter/Getty Images for The Recording Academy)