# [Tugindia] Colour change in pdfscreen

V. Sasi Kumar sasi.keraladevelopment at gmail.com
Fri Jul 18 19:55:47 CEST 2008

On Fri, 2008-07-18 at 20:45 +0530, Nina Mazumdar wrote:
>
> Somewhere after \begin{document}:
>
>  \backgroundcolor{darkblue}
>  \color{orange}
>
> Of course, darkblue and orange shall be defined prior to this.

You can use standard colors like blue, green, red, white, black, etc.
without defining it yourself. Other colours will have to be defined in
the beginning or before use. Colours can be defined in terms of RGB,
like:

\definecolor{brown}{rgb}{0.9,0.7,0.7}

or

\definecolor{gold}{rgb}{1.0,0.851,0.098}

You can try playing with the fractions and learn how to adjust them to
get a colour you desire.

Happy TeXing!
--
V. Sasi Kumar
Free Software Foundation of India
http://swatantryam.blogspot.com



More information about the tugindia mailing list