Advice for something similar to this

Hi Everyone…

I´m asking your help to guide me to make something similar to this:

If you change the colors in the top menu, you will see that the text and logo change their color from black to white or white to black.

How can i make something like that?

I thought in Css, but the log i dont think that is text but it is an image.

Thanks for all