Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

how can i made a faded version of this maroon? i want to get the same result of the classic thesis halfgray but in maroon version. i would to have a faded effect as if it is in transparency. Like this effect but for the maroon color:


enter image description here


\documentclass{article}

\usepackage[dvipsnames]{xcolor}

\begin{document} 
\color{Maroon} Hallo world!
\end{document}
share|improve this question
    
Does \color{Maroon!50} Hallo world! do what you want? It mixes Maroon with equal parts white. You can mix other color combinations using <color1>!<percentage>!<color2>. –  Jake Aug 15 '12 at 9:09
    
@Jake i think that halfgray in classicthesis is defined by \definecolor{halfgray}{gray}{0.55} how can i made a maroon version of it? –  FormlessCloud Aug 15 '12 at 9:14
    
i have try this \definecolor{halfmaroon}{Maroon}{0.55} but i get error... –  FormlessCloud Aug 15 '12 at 9:31
    
The gray in the \definecolor refers to a Colour Model and explains how the 0.55 is to be interpreted. To repeat the definition for maroon, you would have to look up the model used to define the maroon colour and repeat it with the appropriate adjustments. It'll be something like \definecolor{Maroon}{RGB}{.2,.3,.4} (I may have the syntax wrong). Or you could use the easier method that Jake outlines to define halfmaroon in terms of the existing colour. –  Loop Space Aug 15 '12 at 9:34

1 Answer 1

\definecolor{halfgray}{gray}{0.55} refers to the colour 0.55 in the gray colour model, which is black mixed with 55% white. To define a new colour halfmaroon that consists of Maroon mixed with 55% white, you could use \colorlet{halfmaroon}{Maroon!45!White} (see Defining a Color using another). However, this colour is much lighter than the halfgray in classicthesis, so you'll have to experiment a bit to get an appropriate colour.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.