Certainly Japanese surface guns used dyes for each individual ship to spot its own fall of shot but I know of no instance where they were used in anti-aircraft shells.
Nimitz
History's first clash of aircraft carriers: Japanese Imperial Navy vs United States Navy.
Submarines and Aircraft Carriers
Aircraft of the Japanese Navy bombed the US Navy base at Pearl Harbor on 7 December 1941.
Surface warships: Battleships, Cruisers, Destroyers; and US Navy/US Army aircraft.
Fleet Aircraft Carriers. (Fleet Carriers are a navy's largest carrier).
No. The planes were all Navy aircraft launched from their carriers. The aircraft used were the Zero(Zeke), Kate and Val.
not totally but we sank many Japanese ship including aircraft carriers preventing the kamakazies from bombing the American ships
Approximately 29 Imperial Navy aircraft were shot down during the attack.
Submarines and aircraft carriers
Submarines and aircraft carriers
Of course, navy aircraft are military aircraft.