Gram stains may also be used to check for bacteria in certain body fluids, such as blood or urine. There are two main categories of bacterial infections: Gram-positive and Gram-negative. The categories are diagnosed based on the how the bacteria reacts to the Gram stain. A Gram stain is colored purple.