[Tex/LaTex] Writing paragraphs in \textcolor

color

I want to write a document where a paragraph or two has a different text colour. I am using the \textcolor environment for this. But here is the problem

when I write

 \textcolor{red}{blah blah blah} 

everything is fine.

But when I try this

 \textcolor{red}{blah blah 

 % A paragraph here 

 blah blah }

Then the colour disappears.

EDIT: Here is a MWE:

  \documentclass{article}
  \usepackage{color}
  \begin{document}
  \textcolor{red}{blah blah blah}


 However 

 \textcolor{red}{blah blah 

  blah blah} 
 No color in this case.

 \end{document}

I am sure I am making some simple mistake. Any help is appreciated.
Here is the output

Best Answer

\textcolor{<color>}{...} is a command that doesn't allow changes of paragraph (it is defined with \def instead of \long\def).

You must use {\color{<color>}...} instead.

\documentclass{article}
\usepackage{xcolor}
\usepackage{showframe} % Only for demo
\begin{document}
\textcolor{red}{blah blah blah} 

{\color{blue}blah blah 

 % A paragraph here 

 blah blah}

blah blah 
\end{document}

enter image description here