Tcolorbox渐变灰颜色

Tcolorbox渐变灰颜色

我们使用了tcolorbox单色(灰色到白色百分比)的渐变色调,我们检查了 PDF 中的输出,颜色显示为 CMYK 混合色,我的 TeX 编码正确吗?

\documentclass{book}
\usepackage{tcolorbox}
\tcbuselibrary{skins}

\makeatletter%
\pagestyle{empty}
\definecolor{boxonegradbegin}{cmyk}{0,0,0,0.10}%
\newtcolorbox{gradientbox}[1][]{%
  enhanced,boxrule=0pt,boxsep=0pt,sharp corners,
  frame hidden,interior style={left color=boxonegradbegin,right color=white},
  #1
}
\makeatother%

\begin{document}

\begin{gradientbox}
The Strati resulted from the 3D Printed Car Design Challenge, conducted using crowd-sourcing technologies by Local Motors, which is based in Phoenix, Arizona. The company believes it is at the forefront of the 3D Industrial Revolution and describes itself as a free online and physical workspace that enables people to turn their vehicle innovations into reality and rewards them for their contribution. The key issues discussed in the brief for the design challenge were as follows.
\end{gradientbox}

\end{document} 

相关内容