Why are Some Eggs Brown and Others White?

Brown eggs and white eggs are layed by two different chickens. There is no other difference in them however. A chicken with reddish feathers lays brown eggs and a chicken with white feathers lays a white egg.