You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xcolor allows to define a color in one model with values from another model. This fails if a specific target model is set with a package option or with \selectcolormodel
\documentclass{article}
\usepackage{xcolor}
\makeatletter
%defines the equivalent rgb color to the Hsb values
\definecolor{red1}{rgb:Hsb}{0,0.67,0.26}
\expandafter\show\csname \string\color@red1\endcsname
\selectcolormodel{cmyk}
%\def\XC@tgt@mod#1{#1} %reverts the model selections
\definecolor{red2}{rgb:Hsb}{0,0.67,0.26} % errors
\begin{document}
blub
\end{document}
! Package xcolor Error: Undefined color model `rgb:Hsb'.
The text was updated successfully, but these errors were encountered:
xcolor
allows to define a color in one model with values from another model. This fails if a specific target model is set with a package option or with\selectcolormodel
The text was updated successfully, but these errors were encountered: