If you get a quote through the Australian site provided, you will be questioned about the color of your vehicle, and this is how that data was collected. Car insurance quotes in the US do not ask you what color your car is.
1. Having any less-common color raises the price of insurance because, in the event of damage, the car will be more expensive to repaint. "For example, metallic paint can be more expensive than a standard colour and therefore the car may be more expensive to replace." 2. Gray and silver cars are the most likely to get into accidents, not red. (Red is #3.) 3. A price comparison site quoted the highest insurance rates for gray and black cars, not red.
I've worked for insurance companies here in Australia and the UK. Not all insurance companies ask about car colour but some do. I assume it would be the same in many other countries.
I bet there's a hefty premium for Vantablack! https://www.bmw.com/en/design/the-bmw-X6-vantablack-car.html