I would like to configure the colours in the Exam class, but it is not working and I get no colours.
\documentclass[french,a4paper,addpoints,12pt]{exam}
\usepackage[dvipsnames]{xcolor}
\definecolor{FillWithLinesColor}{HTML}{00F9DE}
\definecolor{FillWithDottedLinesColor}{gray}{0.8}
\colorlet{GridColor}{Cerulean}
\begin{document}
\begin{questions}
\question[10]
Foo?
\fillwithlines{2cm}
\question[15]
Bar?
\fillwithdottedlines{2cm}
\question[10] Compute $\displaystyle\int_0^1 x^2 \, dx$.
\fillwithgrid{2cm}
\end{questions}
\end{document}
What's wrong?