My heart is racing, I'm pretty much in love with everything in the Pacific; the coral reefs are overwhelming and the fauna associated with corals is truly amazing.
The brilliant and bright colours protect their bearers from UV radiation and also help them hide in plain sight, this is called crypsis and can be found almost everywhere, from these incredible crabs to some gekkos in Madagascar.
In the Atlantic ocean there's also crypsis but backgrounds are brownish, greenish or other sober colours; therefore, animals and algae are brown, dark green, gray...
I'm really happy you found this spiky friend and could take pictures of it :)