我想添加从内到外的颜色渐变,从淡紫色到白色
\usepackage{amsmath}
\usepackage{times}
\usepackage{anyfontsize}
\usepackage{amsfonts}
\usepackage[paperheight=11in,paperwidth=11in,margin=1in]{geometry}
\usepackage{tikz}
\usepackage[dvipsnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{graphicx}
\graphicspath{{images/}}
\begin{document}
\newtcolorbox{mybox}{colback=blue!5!white,colframe=blue}
%for gradiant background this code below
\begin{tikzpicture}[remember picture,overlay]
\path [inner color=Lavender,outer color=White] (current page.north east)rectangle (current page.south west);
\end{tikzpicture}
\begin{center}
\thispagestyle{empty}
{\fontsize{40}{20}\selectfont\textbf{\underline{Functional Equation Week: Problem 5}}}
\vspace*{1cm}
{\fontsize{35}{30}\selectfont\textbf{Send me Your Answer!}}
\vspace*{1cm}
\end{center}
{\fontsize{30}{30}\selectfont Find all functions $ f : \mathbb R\to \mathbb R$ such that \[ x^2y^2 \left( f(x+y)-f(x)-f(y) \right)=3(x+y)f(x)f(y)\] holds for all reals $x$ and $y$}
\vspace{1cm}
\begin{center}
{\fontsize{30}{30}\textbf{ONLY ELEMENTARY SOLUTIONS ALLOWED}}
\vspace{1cm}
{\fontsize{50}{60}\selectfont $$\boldsymbol{\sum \limits_{i=0}^{Creative} Math_i = Solving}$$}
\vspace{1cm}
\begin{mybox}\Huge{\begin{center}\textbf{\textcolor{blue}{Solution $\to$}} \end{center}}\end{mybox}
\end{center}
\end{document}
但是当我编译它时它向我显示了
! LaTeX 错误:xcolor 包选项冲突
!包 xcolor 错误:未定义颜色“薰衣草色”。
!包 xcolor 错误:未定义颜色“白色”。
为什么会发生这种情况。告诉我正确的代码