What causes eyes to be brown or black?

The amount of melanin in the eyes.