\usepackage{color}
\usepackage{listings}

\definecolor{mygreen}{rgb}{0.0, 0.5, 0.0}
\definecolor{emphamber}{rgb}{1.0, 0.75, 0.0}
\definecolor{amber}{rgb}{1.0, 0.49, 0.0}
\definecolor{ballblue}{rgb}{0.13, 0.67, 0.8}
\definecolor{gray}{rgb}{0.5, 0.5, 0.5}

\lstdefinestyle{kamyarStyle}{
    basicstyle=\footnotesize\ttfamily,
    keywordstyle=\color{amber},
    stringstyle=\color{mygreen},
    commentstyle=\color{gray},
    breakatwhitespace=false,
    breaklines=true,
    keepspaces=true,
    showspaces=false,
    showstringspaces=false,
    showtabs=false,
}

\lstset{style=kamyarStyle}
\lstset{escapeinside={(*@}{@*)}}