[Tex/LaTex] Change font color of scrbook titlepage

colorkoma-scripttitles

I have the following code:

\documentclass[a4paper,landscape,12pt,oneside]{scrbook}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{xcolor}
\usepackage[pdfborder={0 0 0}, breaklinks=true, pdftex=true, raiselinks=true]{hyperref}

\begin{document}
\color{red}
\title{MainTitle}
\author{"author"}
\subject{Subject} \publishers{Publisher}
\titlehead{Publisher\\City}
\maketitle
\end{document}

I can set colors of everything except the subject and the title to red. Can somebody give me a tip on how to set the size of the text and the font color of the title and subject too, please?

Best Answer

Use \addtokomafont for title and subject.

\documentclass[a4paper,landscape,12pt,oneside]{scrbook}

\usepackage{xcolor}
\addtokomafont{subject}{\color{red}}
\addtokomafont{title}{\color{red}}

\begin{document}
\color{red}
\title{MainTitle}
\author{"author"}
\subject{Subject} \publishers{Publisher}
\titlehead{Publisher\\City}
\maketitle
\end{document}
Related Question