Graphics, Figures & TablesPSTricks | RGB Color not working

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

PSTricks | RGB Color not working

Post by niles »

Hi

Please see

Code: Select all

\documentclass{article}
\usepackage{pstricks,pst-node,pst-plot,pst-circ}

\begin{document}
\newrgbcolor{GridColor}{0.8 0.8 0.8}%

\begin{pspicture}(0.898618,0.883041)(3.023041,3.046784)%
\newrgbcolor{purple}{100 55 155}
\psline[plotstyle=line,linejoin=1,showpoints=true,dotstyle=*,dotsize=110pt,linestyle=none,linewidth=3pt,linecolor=purple]
(1.000000,1.000000)(2.000000,2.000000)(3.000000,3.000000)
\end{pspicture}
\end{document}
I have chosen the RGB color {100 55 155}, but it doesn't display it. If I choose 0 0 1, then I do get black. I tried looking in the manual, but all it says is that I can choose a RGB color, which we already know. Do you know what is wrong here?


Cheers,
Niles.
Last edited by niles on Sat Sep 24, 2011 11:19 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

Re: PSTricks | RGB Color not working

Post by niles »

Post Reply