# \textcolor in chemfig forces molecule to center?

Why is \textcolor forcing my methyl group to center. I don´t want it to do that and so far I could not find anything to counteract this. Does anyone have any sugestions? Thanks

\documentclass{article}
\usepackage{chemfig}
\begin{document}
\chemfig{*6((=O)-N(-\textcolor{red}{CH_3})-*5(-N=-N(-\textcolor{red}{CH_3})-=)--(=O)-N(-\textcolor{red}{H_3C})-)}
\chemfig{*6((=O)-N(-CH_3)-*5(-N=-N(-CH_3)-=)--(=O)-N(-H_3C)-)}
\end{document}


You have to colour each atom, enclose the group within braces and separate the groups with a |:
\documentclass{article}