Can you paint tile on walls and floors?

I have pitted wall and floor tile in my kitchen that I like but would like to change the color. It's a matted, non smooth tile that I feel is a little dated but think with a color change would look much nicer.