King B agar allows the production of fluoresceine (or pyoverdin), a yellow-green pigment that fluoresces under ultraviolet light in certain strains of Pseudomonas. The medium is used primarily in water analysis for the detection and differentiation of Pseudomonas aeruginosa, which produce the characteristic pigment while other species of Pseudomonas do not.