css – Text and background color in a table

I have a table and I want the contents of a cell and its background to change color when the mouse hovers over it. So I tried the following CSS

td {
background color: white;
black;
}

td: hover {
background color: black;
White color;
}
tests

It seems simple, but it does not work. The background changes color, while the text does not.

Where is my fault? How can I correct?