Ultrasound and photoacoustic imaging are highly complementary modalities since both use ultrasonic detection for operation. Increasingly, photoacoustic and ultrasound have been integrated in terms of hardware instrumentation. To generate a broadly accessible dual-modality contrast agent, we generated microbubbles (a standard ultrasound contrast agent) in a solution of methylene blue (a standard photoacoustic dye). This solution was formed effectively and was optimized as a dual-modality contrast solution. As microbubble concentration increased (with methylene blue concentration constant), photoacoustic signal was attenuated in the solution. When methylene blue concentration increased (with microbubble concentration held constant), no ultrasonic interference was observed. Using an solution that strongly attenuated all photoacoustic signal, high powered ultrasound could be used to burst the microbubbles and dramatically enhance photoacoustic contrast (-fold increase), providing a new method for spatiotemporal control of photoacoustic signal generation.