\section{DOM::RGBColor Class Reference}
\label{classDOM_1_1RGBColor}\index{DOM::RGBColor@{DOM::RGBColor}}
The {\tt  {\bf RGBColor}{\rm (p.\,\pageref{classDOM_1_1RGBColor})} } interface is used to represent any {\tt RGB color } value.  


{\tt \#include $<$css\_\-value.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf RGBColor} (const  {\bf QColor} \&c)
\begin{CompactList}\small\item\em {\bf This class or method is obsolete, it is provided for compatibility only.} \item\end{CompactList}\item 
{\bf RGBColor} (QRgb color)\label{classDOM_1_1RGBColor_a2}

\item 
{\bf RGBColor} (const  {\bf RGBColor} \&other)\label{classDOM_1_1RGBColor_a3}

\item 
{\bf RGBColor} \& {\bf operator=} (const  {\bf RGBColor} \&other)\label{classDOM_1_1RGBColor_a4}

\item 
{\bf CSSPrimitive\-Value} {\bf red} () const 
\begin{CompactList}\small\item\em This attribute is used for the red value of the RGB color. \item\end{CompactList}\item 
{\bf CSSPrimitive\-Value} {\bf green} () const 
\begin{CompactList}\small\item\em This attribute is used for the green value of the RGB color. \item\end{CompactList}\item 
{\bf CSSPrimitive\-Value} {\bf blue} () const 
\begin{CompactList}\small\item\em This attribute is used for the blue value of the RGB color. \item\end{CompactList}\item 
QRgb {\bf color} () const \label{classDOM_1_1RGBColor_a9}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
QRgb {\bf m\_\-color}\label{classDOM_1_1RGBColor_p0}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt  {\bf RGBColor}{\rm (p.\,\pageref{classDOM_1_1RGBColor})} } interface is used to represent any {\tt RGB color } value. 

This interface reflects the values in the underlying style property. Hence, modifications made through this interface modify the style property. 



Definition at line 583 of file css\_\-value.h.

\subsection{Constructor \& Destructor Documentation}
\index{DOM::RGBColor@{DOM::RGBColor}!RGBColor@{RGBColor}}
\index{RGBColor@{RGBColor}!DOM::RGBColor@{DOM::RGBColor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}DOM::RGBColor::RGBColor (const {\bf QColor} \& {\em c})\hspace{0.3cm}{\tt  [inline]}}\label{classDOM_1_1RGBColor_a1}


{\bf This class or method is obsolete, it is provided for compatibility only.} 



Definition at line 590 of file css\_\-value.h.

References QColor::rgb().

\subsection{Member Function Documentation}
\index{DOM::RGBColor@{DOM::RGBColor}!red@{red}}
\index{red@{red}!DOM::RGBColor@{DOM::RGBColor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CSSPrimitive\-Value} RGBColor::red () const}\label{classDOM_1_1RGBColor_a6}


This attribute is used for the red value of the RGB color. 



Definition at line 502 of file css\_\-value.cpp.\index{DOM::RGBColor@{DOM::RGBColor}!green@{green}}
\index{green@{green}!DOM::RGBColor@{DOM::RGBColor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CSSPrimitive\-Value} RGBColor::green () const}\label{classDOM_1_1RGBColor_a7}


This attribute is used for the green value of the RGB color. 



Definition at line 507 of file css\_\-value.cpp.\index{DOM::RGBColor@{DOM::RGBColor}!blue@{blue}}
\index{blue@{blue}!DOM::RGBColor@{DOM::RGBColor}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CSSPrimitive\-Value} RGBColor::blue () const}\label{classDOM_1_1RGBColor_a8}


This attribute is used for the blue value of the RGB color. 



Definition at line 512 of file css\_\-value.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
css\_\-value.h\item 
css\_\-value.cpp\end{CompactItemize}
