Change tag color in preview mode

I use the CSS “Typora like custom CSS
Is there any way of making colored tags in the editor mode?