When you display the ledger for an account, you'll notice that the individual transactions are color-coded (in black, gray, maroon, green, navy blue, and olive). This is done as a visual reference to make finding certain types of entries more apparent.
Here's what the various colors mean: