Brown eyes = dominant (only takes one parent to have brown eyes)
Blue or green eyes = recessive. (like albino is recessive) Takes both parents to contribute the gene in order for the child to show the trait. (homozygous) Both parents don't have to have blue or green eyes as long as they carry the gene (het for it) and pass it to the child.

I have hazel eyes (which are defined as blue, green, blue-green, or gray, with brown specks) are the result of two codominant genes which are both expressed at the same time. The interesting thing is that, at times my eyes appear very blue. Other times, they appear more like olive-green. They actually change color, but the brown specks always remain.

A good example of this type of color in snakes, are the "super" forms of some morphs. The "super" form for a codominant gene is expressed when the snake inherited the codominant gene from both parents. But even "hets" which only inherited the gene from one parent, still display the trait. Sometimes they are called "visual hets".