How can make an environment in which I can write my text and in output, I see it indented with a coloured vertical line?
I want the code be like the following:
\begin{textbox}[orange][1cm] % [colour of the line][distance from left margin]
\lipsum[1]
\end{textbox}

\documentclass{book}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}