As you can see below in this Twitter by Japanese Twitter user Takumi, a wide range of characters (from Lupin III to Ash from Pokemon) have all worn similar boxers.
Ash, for example, has also worn white undies, while Lupin has worn heart boxers on several occasions.
One of the most famous (infamous?) anime underwear tropes for female characters is light blue and white striped underpants.