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} 

相關內容