Why is a greenhouse called a greenhouse?

I mean, It's not as though it's made of green bricks, is it? It hasn't been painted green either. So y is it not a glass house?
Update: I know it has green things in it, but surely plants outside it are green to. I mean, grass is green, stalks on plants are green, leaves are green.
25 answers 25