```
    \noindent
    \colorbox{gray!25}{
    \begin{minipage}{\textwidth}
    \vskip0.5cm
    \leftskip0.5cm
    \rightskip0.5cm

    Text Here!

\\\end{minipage}}

```

Code above works fine, but I don't want to repeat it every time that I want a box. However, code below doesn't work. I supose is because the **colorbox** starts in the "begin" of **newenviroment** and ends in the "end".
So, how can I solve this?

```
\newenvironment{gbox}
{
\noindent
\colorbox{gray!25}{
\begin{minipage}{\textwidth}
\vskip0.5cm
\leftskip0.5cm
\rightskip0.5cm
}
{
\\\end{minipage}}
}

```