You get this speedo by getting three golden medals (one per test) at Griffin's shooting range in three different tests, make sure to be alone (don't bring the other character), the tests are not that difficult, each test has 3 difficulties, do the easiest one and use your focus to help with your timers.
Once you have all 3 medals, go back inside where you bought the permit to use the shooting range and an NPC will approach you, help him with his mission, it's pretty straightforward, but I think when he asks you to name the product he's working on, it changes the speedo's color, I got green by choosing "hard on" (I saw someone wearing black speedos and I think it's because of the name, but I could be wrong).
Edit: apparently it's only green for everyone, maybe what I saw was a filter or lighting effect that made them look black, so it doesn't matter what you choose.
Once the mission is completed and he pays you, go to De'Luge Swimwear store, second floor and you can buy them there and free roam with them.
Enjoy!