  \documentclass[12pt]{article}
  \usepackage[utf8]{inputenc}
  \usepackage[T1]{fontenc}
  \usepackage{fancybox}
  \usepackage[frenchb]{babel}
  \usepackage[autolanguage]{numprint}
  \usepackage{amssymb}
  \usepackage{xcolor}
  \definecolor{DarkGreen}{rgb}{0.359,0.715,0.070}
  \definecolor{dDarkGreen}{rgb}{0.328,0.656,0.0625}
  \definecolor{mLightBlue}{rgb}{0.266,0.387,0.762}
  \definecolor{DarkBlue}{rgb}{0.289,0.422,0.828}%0.5,0.75,1
  \definecolor{cDarkBlue}{rgb}{0.172,0.645,0.883}
  \definecolor{cLightBlue}{rgb}{0.156,0.590,0.809}
  \definecolor{dDarkBlue}{rgb}{0,0.375,0.75}
  \definecolor{LightPurple}{rgb}{0.54,0.332,0.84}%0.75,0.5,1
  \definecolor{DarkPurple}{rgb}{0.492,0.305,0.77}
  \definecolor{DdarkPurple}{rgb}{0.348,0.277,0.691}
  \definecolor{LightOrange}{rgb}{0.93,0.488,0.086}%1,0.625,0.25
  \definecolor{DarkOrange}{rgb}{0.797,0.355,0.133}%0.852,0.445,0.078%0.875,0.438,0
    \definecolor{cDarkOrange}{rgb}{0.809,0.605,0.09}
  \definecolor{dDarkOrange}{rgb}{0.730,0.324,0.121}%0.750,0.375,0
  \definecolor{DarkMarron}{rgb}{0.719,0.469,0.172}%0.625,0.312,0
  \definecolor{LightPink}{rgb}{0.672,0.234,0.699}%0.875,0.125,0.875
  \newcommand\opSon[1]{\colorbox{LightPink}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opSimple[1]{\colorbox{white}{\normalfont\textcolor{black}{#1}}}
  \newcommand\opMouv[1]{\colorbox{DarkBlue}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opAp[1]{\colorbox{LightPurple}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opApMenu[1]{\colorbox{DarkPurple}{\bfseries\textcolor{white}{\normalfont #1 \textcolor{black}{\tiny$\blacktriangledown$}}}}
  \newcommand\opBloc[1]{\colorbox{DdarkPurple}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opOp[1]{\colorbox{DarkGreen}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opSousOp[1]{\colorbox{dDarkGreen}{#1}}
  \newcommand\opOpMenu[1]{\colorbox{dDarkGreen}{\normalfont \textcolor{white}{#1} \tiny\textcolor{black}{$\blacktriangledown$}}}
  \newcommand\opCap[1]{\colorbox{cDarkBlue}{\bfseries\textcolor{white}{\bfseries #1}}}
  \newcommand\opCapCap[1]{\colorbox{cLightBlue}{\normalfont #1 \tiny\textcolor{black}{$\blacktriangledown$}}}
  \newcommand\opVar[1]{\colorbox{LightOrange}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opList[1]{\colorbox{DarkOrange}{\bfseries\textcolor{white}{#1}}}
  \newcommand\opSousList[1]{\colorbox{dDarkOrange}{\normalfont #1 \tiny\textcolor{black}{$\blacktriangledown$}}}
  \usepackage{amsmath}
  \usepackage{mathrsfs}
  \usepackage{ifsym}
  \usepackage{bm}
  \usepackage{mflogo}
  \usepackage{graphicx}
  
\begin{document}
\opOp{\opSimple{\opMouv{\opAp{titi}}}}
\end{document}
