\section{lib/sparse/colorutil.c File Reference}
\label{colorutil_8c}\index{lib/sparse/colorutil.\-c@{lib/sparse/colorutil.\-c}}
{\ttfamily \#include \char`\"{}general.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}colorutil.\-h\char`\"{}}\\*
Include dependency graph for colorutil.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{colorutil_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf rgb2hex} (float r, float g, float b, char $\ast$cstring, char $\ast$opacity)
\item 
{\bf real} {\bf Hue2\-R\-G\-B} ({\bf real} v1, {\bf real} v2, {\bf real} H)
\item 
char $\ast$ {\bf hue2rgb} ({\bf real} hue, char $\ast$color)
\item 
void {\bf hue2rgb\-\_\-real} ({\bf real} hue, {\bf real} $\ast$color)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
char $\ast$ {\bf hex} [16] =\{\char`\"{}0\char`\"{},\char`\"{}1\char`\"{},\char`\"{}2\char`\"{},\char`\"{}3\char`\"{},\char`\"{}4\char`\"{},\char`\"{}5\char`\"{},\char`\"{}6\char`\"{},\char`\"{}7\char`\"{},\char`\"{}8\char`\"{},\char`\"{}9\char`\"{},\char`\"{}a\char`\"{},\char`\"{}b\char`\"{},\char`\"{}c\char`\"{},\char`\"{}d\char`\"{},\char`\"{}e\char`\"{},\char`\"{}f\char`\"{}\}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{colorutil.\-c@{colorutil.\-c}!Hue2\-R\-G\-B@{Hue2\-R\-G\-B}}
\index{Hue2\-R\-G\-B@{Hue2\-R\-G\-B}!colorutil.c@{colorutil.\-c}}
\subsubsection[{Hue2\-R\-G\-B}]{\setlength{\rightskip}{0pt plus 5cm}{\bf real} Hue2\-R\-G\-B (
\begin{DoxyParamCaption}
\item[{{\bf real}}]{v1, }
\item[{{\bf real}}]{v2, }
\item[{{\bf real}}]{H}
\end{DoxyParamCaption}
)}\label{colorutil_8c_a3c63b65cec1ef83f391037d2b684d241}


Definition at line 42 of file colorutil.\-c.



Referenced by hue2rgb(), and hue2rgb\-\_\-real().

\index{colorutil.\-c@{colorutil.\-c}!hue2rgb@{hue2rgb}}
\index{hue2rgb@{hue2rgb}!colorutil.c@{colorutil.\-c}}
\subsubsection[{hue2rgb}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ hue2rgb (
\begin{DoxyParamCaption}
\item[{{\bf real}}]{hue, }
\item[{char $\ast$}]{color}
\end{DoxyParamCaption}
)}\label{colorutil_8c_ab5e2cf1419a01b311533e03564e64278}


Definition at line 53 of file colorutil.\-c.



References Hue2\-R\-G\-B(), int, and real.



Referenced by assign\-\_\-random\-\_\-edge\-\_\-color(), and make\-Dot\-Graph().

\index{colorutil.\-c@{colorutil.\-c}!hue2rgb\-\_\-real@{hue2rgb\-\_\-real}}
\index{hue2rgb\-\_\-real@{hue2rgb\-\_\-real}!colorutil.c@{colorutil.\-c}}
\subsubsection[{hue2rgb\-\_\-real}]{\setlength{\rightskip}{0pt plus 5cm}void hue2rgb\-\_\-real (
\begin{DoxyParamCaption}
\item[{{\bf real}}]{hue, }
\item[{{\bf real} $\ast$}]{color}
\end{DoxyParamCaption}
)}\label{colorutil_8c_a2027eee26a5b9c0709f9083c796324d2}


Definition at line 79 of file colorutil.\-c.



References Hue2\-R\-G\-B(), int, and real.

\index{colorutil.\-c@{colorutil.\-c}!rgb2hex@{rgb2hex}}
\index{rgb2hex@{rgb2hex}!colorutil.c@{colorutil.\-c}}
\subsubsection[{rgb2hex}]{\setlength{\rightskip}{0pt plus 5cm}void rgb2hex (
\begin{DoxyParamCaption}
\item[{float}]{r, }
\item[{float}]{g, }
\item[{float}]{b, }
\item[{char $\ast$}]{cstring, }
\item[{char $\ast$}]{opacity}
\end{DoxyParamCaption}
)}\label{colorutil_8c_a523c9aa773c69d95b6bcf98d6d143c63}


Definition at line 27 of file colorutil.\-c.



Referenced by Dot\-\_\-\-Set\-Cluster\-Color().



\subsection{Variable Documentation}
\index{colorutil.\-c@{colorutil.\-c}!hex@{hex}}
\index{hex@{hex}!colorutil.c@{colorutil.\-c}}
\subsubsection[{hex}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ hex[16] =\{\char`\"{}0\char`\"{},\char`\"{}1\char`\"{},\char`\"{}2\char`\"{},\char`\"{}3\char`\"{},\char`\"{}4\char`\"{},\char`\"{}5\char`\"{},\char`\"{}6\char`\"{},\char`\"{}7\char`\"{},\char`\"{}8\char`\"{},\char`\"{}9\char`\"{},\char`\"{}a\char`\"{},\char`\"{}b\char`\"{},\char`\"{}c\char`\"{},\char`\"{}d\char`\"{},\char`\"{}e\char`\"{},\char`\"{}f\char`\"{}\}}\label{colorutil_8c_adcd53f6079fac8bb35737bcb6ecb5f0a}


Definition at line 51 of file colorutil.\-c.

