You can get color of an element by simply using getCssValue function.
E.g.
String Color = driver.findElement(By.xpath("//div[@class='gb_e gb_f gb_g gb_xb']/a")).getCssValue("color");
This will return you the string
rgba(#,#,#) where # is your color value. Say your element color is Green it will return rgba(0,225,0)
You can then work with returned values.
Hope that helps.