When dealing with images in Illustrator, one of the first things you should learn is to make the background transparent. When working with layered files, it's important that the background doesn't clutter the top layer. See how to do this in Adobe Illustrator.
Steps
Step 1. Open Illustrator
Open or create your object, then go to Filet > Save for Web….
In the window that appears, you have the option to save in various formats: GIF, JPEG, PNG-8 and PNG-24. You can choose anything but JPEG to create your files
Step 2. Save as a-p.webp" />
You have two options: PNG-8 and PNG-24. The main difference between them is that, like the-g.webp
You should see the chess game pattern behind the image as shown above
Step 3. You can also save in-g.webp" />
As with the-p.webp
Step 4. Success
The background of your-p.webp