
% Rolf Niepraschk, niepraschk@ptb.de, 2003-05-04
%
% Test for the LaTeX package `colorinfo'
%

\listfiles
\documentclass{article}

\makeatletter

\usepackage[dvips]{color}
%\usepackage[pdftex]{color}
%\usepackage[vtex]{color}
%\usepackage[dvipdfm]{color}
%\usepackage[dvipsone]{color}
%\usepackage[pctex32]{color}

\usepackage{colorinfo}

\definecolor{COLORi}{rgb}{.5,.6,.7}
\definecolor{COLORii}{gray}{0.77}
\definecolor{COLORiii}{cmyk}{.1,.3,.5,0}

\begin{document}

\colorInfo{COLORi}
\typeout{\string\colorModel: \colorModel\space
         \string\colorValue: \colorValue\space
	 \string\colorDriver: \colorDriver}
	 
\colorInfo{COLORii}
\typeout{\string\colorModel: \colorModel\space
         \string\colorValue: \colorValue\space
	 \string\colorDriver: \colorDriver}
	 
\colorInfo{COLORiii}
\typeout{\string\colorModel: \colorModel\space
         \string\colorValue: \colorValue\space
	 \string\colorDriver: \colorDriver}
	 
\colorInfo{UNKNOWN}
\typeout{\string\colorModel: \colorModel\space
         \string\colorValue: \colorValue\space
	 \string\colorDriver: \colorDriver}
	 
\colorInfoRGB{COLORiii}
\typeout{\string\colorModel: \colorModel\space
         \string\colorValue: \colorValue\space
	 \string\colorDriver: \colorDriver}	 	 	 	 

\end{document}

