% Copyright 2013 by Marei Peischl
%
% This file may be distributed and/or modified
%
% under the LaTeX Project Public License

%Definiert Farbwerte nach den Gestaltungsrichtlinien der Corporate Design der Universität Regensburg
\def\fileversion{1.1}
\def\filedate{2013/06/04}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{URcolors}[\filedate\space\fileversion\space]

\RequirePackage{xcolor}
\RequirePackage{ifthen}
%Deklaration der Paketoptionen für die Unterscheidung der Farbwerte je nach Anwendung
%Option "coated" für gestrichenes Papier
\newboolean{coated}
\DeclareOption{coated}{\setboolean{coated}{true}}
%Option RGB für Bildschirmdarstellungen
\newboolean{RGB}
\DeclareOption{RGB}{\setboolean{RGB}{true}}
\ProcessOptions\relax

%Farbedfinitionen
%Abfrage RGB oder cmyk
\ifthenelse{\boolean{RGB}}{
%RGB-Farbdefinitionen
\definecolor{UR@reingrau}{RGB}{142,142,141}
\definecolor{UR@color@1}{RGB}{29,63,75} %LOV - Blaugrau
\definecolor{UR@color@2}{RGB}{95,0,47} %FFg Schwarzrot
\definecolor{UR@color@3}{RGB}{61,65,0} %ASZ Schilfgrün
\definecolor{UR@color@4}{RGB}{205,211,15}%RWS, urangelb
\definecolor{UR@color@5}{RGB}{174,167,0}%WiWi lärchennadelgrün
\definecolor{UR@color@6}{RGB}{236,188,00}%KT	vatikangelb
\definecolor{UR@color@7}{RGB}{236,98,0}%PKGGorangerot
\definecolor{UR@color@8}{RGB}{191,0,42}%PPSheucherarot
\definecolor{UR@color@9}{RGB}{156,0,75}%SLKheidenelkenrot
\definecolor{UR@color@10}{RGB}{79,184,0}%Bioblattgrün
\definecolor{UR@color@11}{RGB}{0,155,119}%mathematiktürkisgrün
\definecolor{UR@color@12}{RGB}{0,137,147}%physik eisvogelblau
\definecolor{UR@color@13}{RGB}{0,135,178}%Chem spektralblau
\definecolor{UR@color@14}{RGB}{0,85,106}%Medi capriblau
\definecolor{UR@color@15}{RGB}{164,102,116} %UB dianthusrot
\definecolor{UR@color@16}{RGB}{114,75,81}%ZSK rotbraun
\definecolor{UR@color@17}{RGB}{86,78,111}%EUR perlviolett
\definecolor{UR@color@18}{RGB}{59,0,65}%ZHW violettrot
\definecolor{UR@color@19}{RGB}{134,104,0}%RUL grünbraun
\definecolor{UR@color@20}{RGB}{65,98,36}%ZFW farngrün
\definecolor{UR@color@21}{RGB}{0,129,123}%SPO wasserblau
\definecolor{UR@color@22}{RGB}{3,35,82}%RZ saphirblau
\definecolor{UR@color@23}{RGB}{0,146,133} %FSImphy 
}
{
%cmyk-Farbdefinitionen
\definecolor{UR@reingrau}{cmyk}{0,0,0,0.5}
\ifthenelse{\boolean{coated}}{
%Farbwerte für gestrichenes Papier
\definecolor{UR@color@1}{cmyk}{0.6,0,0,0.7} %LOV - Blaugrau
\definecolor{UR@color@2}{cmyk}{0,0.5,0,0.7} %FFg Schwarzrot
\definecolor{UR@color@3}{cmyk}{0,0,0.5,0.7} %ASZ Schilfgrün
\definecolor{UR@color@4}{cmyk}{0.3,0,1,0}%RWS, urangelb
\definecolor{UR@color@5}{cmyk}{0,0,1,0.35}%WiWi lärchennadelgrün
\definecolor{UR@color@6}{cmyk}{0,0.3,1,0}%KT	vatikangelb
\definecolor{UR@color@7}{cmyk}{0,0.6,1,0}%PKGGorangerot
\definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
\definecolor{UR@color@9}{cmyk}{0,1,0,0.3}%SLKheidenelkenrot
\definecolor{UR@color@10}{cmyk}{0.6,0,1,0}%Bioblattgrün
\definecolor{UR@color@11}{cmyk}{1,0,0.6,0}%mathematiktürkisgrün
\definecolor{UR@color@12}{cmyk}{1,0,0.3,0}%physik eisvogelblau
\definecolor{UR@color@13}{cmyk}{1,0.3,0,0}%Chem spektralblau
\definecolor{UR@color@14}{cmyk}{1,0,0,0.5}%Medi capriblau
\definecolor{UR@color@15}{cmyk}{0,0.6,0.3,0.3} %UB dianthusrot
\definecolor{UR@color@16}{cmyk}{0,0.6,0.3,0.6}%ZSK rotbraun
\definecolor{UR@color@17}{cmyk}{0.6,0.6,0.15,0.3}%EUR perlviolett
\definecolor{UR@color@18}{cmyk}{0.6,1,0,0.6}%ZHW violettrot
\definecolor{UR@color@19}{cmyk}{0,0.3,1,0.6}%RUL grünbraun
\definecolor{UR@color@20}{cmyk}{0.6,0,1,0.6}%ZFW farngrün
\definecolor{UR@color@21}{cmyk}{1,0,0.3,0.3}%SPO wasserblau
\definecolor{UR@color@22}{cmyk}{1,0.6,0,0.6}%RZ saphirblau
\definecolor{UR@color@23}{cmyk}{1,0,0.45,0} %FSImphy 
}{
%Farbwerte für ungestrichenes Papier
\definecolor{UR@color@1}{cmyk}{0.9,0.3,0.2,0.5} %LOV - Blaugrau
\definecolor{UR@color@2}{cmyk}{0.4,0.9,0.2,0.5} %FFg Schwarzrot
\definecolor{UR@color@3}{cmyk}{0.2,0.05,0.7,0.5} %ASZ Schilfgrün
\definecolor{UR@color@4}{cmyk}{0.2,0,1,0}%RWS, urangelb
\definecolor{UR@color@5}{cmyk}{0.1,0.1,1,0.2}%WiWi lärchennadelgrün
\definecolor{UR@color@6}{cmyk}{0,0.2,1,0}%KT	vatikangelb
\definecolor{UR@color@7}{cmyk}{0,0.5,1,0}%PKGGorangerot
\definecolor{UR@color@8}{cmyk}{0,1,0.6,0}%PPSheucherarot
\definecolor{UR@color@9}{cmyk}{0.1,1,0.1,0.1}%SLKheidenelkenrot
\definecolor{UR@color@10}{cmyk}{0.5,0,1,0}%Bioblattgrün
\definecolor{UR@color@11}{cmyk}{1,0.1,0.5,0}%mathematiktürkisgrün
\definecolor{UR@color@12}{cmyk}{0.9,0,0.3,0}%physik eisvogelblau
\definecolor{UR@color@13}{cmyk}{1,0.2,0,0}%Chem spektralblau
\definecolor{UR@color@14}{cmyk}{1,0.2,0.1,0.3}%Medi capriblau
\definecolor{UR@color@15}{cmyk}{0.1,0.6,0.4,0.1} %UB dianthusrot
\definecolor{UR@color@16}{cmyk}{0.2,0.7,0.5,0.4}%ZSK rotbraun
\definecolor{UR@color@17}{cmyk}{0.68,0.73,0.18,0.18}%EUR perlviolett
\definecolor{UR@color@18}{cmyk}{0.7,0.9,0.1,0.4}%ZHW violettrot
\definecolor{UR@color@19}{cmyk}{0.11,0.36,1,0.44}%RUL grünbraun
\definecolor{UR@color@20}{cmyk}{0.6,0.2,1,0.4}%ZFW farngrün
\definecolor{UR@color@21}{cmyk}{1,0,0.3,0.2}%SPO wasserblau
\definecolor{UR@color@22}{cmyk}{1,0.7,0.1,0.4}%RZ saphirblau
\definecolor{UR@color@23}{cmyk}{0.95,0.05,0.45,0} %FSIpmphy
}
}
