\mode<presentation>

%
%
% Define custom colors
%
%

% white: rgba(247, 248, 250, 1.0)
\definecolor{color0}{HTML}{f7f8fa}
% black: rgba(23, 33, 42, 1.0)
\definecolor{color1}{HTML}{17212a}
% grey: rgba(218, 219, 214, 1.0)
\definecolor{color2}{HTML}{E4E5E0}
% red: rgba(188, 7, 68, 1.0)
\definecolor{color3}{HTML}{CF084B}
% blue:
\definecolor{color4}{HTML}{385167}
% violet: rgba(37, 20, 42, 1.0)
\definecolor{color5}{HTML}{5B3167}
% green: rgba(49, 103, 91, 1.0)
\definecolor{color6}{HTML}{07BC7F}
% yellow: rgba(245, 166, 9, 1.0)
\definecolor{color7}{HTML}{F5A609}



%
%
% Define alternatives colors
%
%

% grey1
\definecolor{color21}{HTML}{DADBD6}
% red1
\definecolor{color31}{HTML}{BC0744}
% purple1
\definecolor{color51}{HTML}{25142A}
% green1
\definecolor{color61}{HTML}{05865B}
% yellow1
\definecolor{color71}{HTML}{AF7607}



%
%
% Sets the colors
%
%

% Main colors displayed on frames
\colorlet{main0}{color21}
\colorlet{main1}{color31}
\colorlet{main2}{color51}

% Redefine some standard colors
\colorlet{red}{main1}

% Colors of the structure, palettes, etc
\setbeamercolor*{structure}{fg=color51} % itemize, enumerate, etc
\setbeamercolor*{palette primary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette secondary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette tertiary}{use=structure,fg=color1,bg=color0}
\setbeamercolor*{palette quaternary}{use=structure,fg=color1,bg=color0}

% Colors of head/foot line
\setbeamercolor*{author in head/foot}{bg=white}
\setbeamercolor*{title in head/foot}{bg=white}
\setbeamercolor*{page number in head/foot}{bg=white}
\setbeamercolor*{upper separation line foot}{bg=main1}

% Color of the title page frame
\setbeamercolor*{title page header}{fg=color0}

% Colors of sections and subsections in the cours_beamer class
\setbeamercolor*{sectioncolor}{fg=color31}
\setbeamercolor*{subsectioncolor}{fg=color51}

\mode
<all>
