Many digital cameras can try to account for Color Temperature, but not the deviation known as Color Deflection. Even after you adjust the color temperature of a photo, you can still have a definite color cast.

Color Deflection Tint Adjustment