3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2024-11-15 08:53:11 +01:00
nopanic/colors.tex
Peter Nerlich a82484206e rgb and cmyk versions in one document
- separate colors.tex, to include from any sub-document
- provide both rgb and cmyk versions
- use rgb by default, \def\colormodel{cmyk} for clean print version
- make timetable.sty work with all color specifications:
- new \defineeventcolors accepts 5 arguments: name, bg colorformat, bg color values, fg format, fg values
- new \leteventcolors accepts 3 arguments: name, name of previously defined color for bg, name of color for fg

ESE 21 red CMYK version very VAGUELY approximated by a non-professional
2021-09-27 09:43:33 +02:00

20 lines
935 B
TeX

\ifdefined\colormodel\relax\else%
\def\colormodel{rgb}%
\fi
\selectcolormodel{\colormodel}
% \definecolor{ese_bg_color}{rgb}{0.0, 0.20, 0.376} % the definitive color -- #003360 (2015?)
% \definecolor{ese_bg_color}{rgb}{0.0, 0.263, 0.486} % the definitive color -- #00437C (2016?)
% \definecolor{ese_bg_color}{rgb}{0.051, 0.373, 0.596} % the definitive color -- #0D5F98 (2017)
% \definecolor{ese_bg_color}{rgb}{0.796, 0.376, 0.251} % the definitive color -- #CB6040 (2018)
% \definecolor{ese_bg_color}{rgb}{0.0, 0.47, 0.3} % wip-ish color -- #01794C (2019)
%\definecolor{ese_bg_color}{RGB}{5,109,133} % final_really_final -- #056d85 (2020)
\definecolor{ese_bg_color}{RGB/cmyk}{155,30,70/0,0.9,0.6,0.1} % complement -- #9B1E46 (2021)
\definecolor{ese_fg_color}{rgb/cmyk}{1,1,1/0,0,0,0}
\definecolor{fancypageref_color}{RGB/cmyk}{155,30,70/0,0.9,0.6,0.1} %
\definecolor{ifsrgray}{rgb/cmyk}{0.6,0.6,0.6/0,0,0,0.4} % 153, 153, 153