WP hover effect

I have two columns with text inside.
Currently, text is black and background white.
I want to achieve that when I hover over it - Change both text and background color (text to white, and background to blue).

How to do that?


With CSS, but without seeing your HTML we can’t properly advise.