Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 422

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:58:50 CEST 2007 -->
<TITLE>
QColor
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QColor class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QColor";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCloseEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QColor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QColor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QColor</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QColor</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QColor</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> class provides colors based on RGB, HSV or CMYK values.</p>
<p>A color is normally specified in terms of RGB (red, green, and blue) components, but it is also possible to specify it in terms of HSV (hue, saturation, and value) and CMYK (cyan, magenta, yellow and black) components. In addition a color can be specified using a color name. The color name can be any of the SVG 1.0 color names.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qcolor-rgb.png" /></td><td><img src="%2E%2E/images/qcolor-hsv.png" /></td><td><img src="%2E%2E/images/qcolor-cmyk.png" /></td></tr>
<thead><tr valign="top" class="qt-style"><th>RGB</th><th>HSV</th><th>CMYK</th></tr></thead>
</table></p>
<p>The <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructor creates the color based on RGB values. To create a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on either HSV or CMYK values, use the <a href="QColor.html#toHsv()"><tt>toHsv</tt></a> and <a href="QColor.html#toCmyk()"><tt>toCmyk</tt></a> functions respectively. These functions return a copy of the color using the desired format. In addition the static <a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>, <a href="QColor.html#fromHsv(int, int, int, int)"><tt>fromHsv</tt></a> and <a href="QColor.html#fromCmyk(int, int, int, int, int)"><tt>fromCmyk</tt></a> functions create colors from the specified values. Alternatively, a color can be converted to any of the three formats using the <a href="QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)"><tt>convertTo</tt></a> function (returning a copy of the color in the desired format), or any of the <a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>, <a href="QColor.html#setHsv(int, int, int, int)"><tt>setHsv</tt></a> and <a href="QColor.html#setCmyk(int, int, int, int, int)"><tt>setCmyk</tt></a> functions altering <i>this</i> color's format. The <a href="QColor.html#spec()"><tt>spec</tt></a> function tells how the color was specified.</p>
<p>A color can be set by passing an RGB string (such as &quot;#112233&quot;), or a color name (such as &quot;blue&quot;), to the <a href="QColor.html#setNamedColor(java.lang.String)"><tt>setNamedColor</tt></a> function. The color names are taken from the SVG 1.0 color names. The <a href="QColor.html#name()"><tt>name</tt></a> function returns the name of the color in the format &quot;#RRGGBB&quot;. Colors can also be set using <a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>, <a href="QColor.html#setHsv(int, int, int, int)"><tt>setHsv</tt></a> and <a href="QColor.html#setCmyk(int, int, int, int, int)"><tt>setCmyk</tt></a>. To get a lighter or darker color use the <a href="QColor.html#lighter(int)"><tt>lighter</tt></a> and <a href="QColor.html#darker(int)"><tt>darker</tt></a> functions respectively.</p>
<p>The <a href="QColor.html#isValid()"><tt>isValid</tt></a> function indicates whether a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> is legal at all. For example, a RGB color with RGB values out of range is illegal. For performance reasons, <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> mostly disregards illegal colors, and for that reason, the result of using an invalid color is undefined.</p>
<p>The color components can be retrieved individually, e.g with <a href="QColor.html#red()"><tt>red</tt></a>, <a href="QColor.html#hue()"><tt>hue</tt></a> and <a href="QColor.html#cyan()"><tt>cyan</tt></a>. The values of the color components can also be retrieved in one go using the getRgb(), getHsv() and getCmyk() functions. Using the RGB color model, the color components can in addition be accessed with <a href="QColor.html#rgb()"><tt>rgb</tt></a>.</p>
<p>There are several related non-members: QRgb is a typdef for an unsigned int representing the RGB value triplet (r, g, b). Note that it also can hold a value for the alpha-channel (for more information, see the Alpha-Blended Drawing</tt> section). The qRed(), qBlue() and qGreen() functions return the respective component of the given QRgb value, while the qRgb() and qRgba() functions create and return the QRgb triplet based on the given component values. Finally, the qAlpha() function returns the alpha component of the provided QRgb, and the qGray() function calculates and return a gray value based on the given value.</p>
<p><a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> is platform and device independent. The <a href="QColormap.html"><tt>QColormap</tt></a> class maps the color to the hardware.</p>
<p>For more information about painting in general, see {The Paint System} documentation.</p>
<ul><li><a href="#integer-vs-floating-point-precision">Integer vs. Floating Point Precision</a></li>
<li><a href="#alpha-blended-drawing">Alpha-Blended Drawing</a></li>
<li><a href="#predefined-colors">Predefined Colors</a></li>
<li><a href="#the-hsv-color-model">The HSV Color Model</a></li>
<li><a href="#the-cmyk-color-model">The CMYK Color Model</a></li>
</ul>
<a name="integer-vs-floating-point-precision"></a>
<h3>Integer vs. Floating Point Precision</h3>
<p><a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> supports floating point precision and provides floating point versions of all the color components functions, e.g&#x2e; getRgbF(), <a href="QColor.html#hueF()"><tt>hueF</tt></a> and <a href="QColor.html#fromCmykF(double, double, double, double, double)"><tt>fromCmykF</tt></a>. Note that since the components are stored using 16-bit integers, there might be minor deviations between the values set using, for example, <a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a> and the values returned by the getRgbF() function due to rounding.</p>
<p>While the integer based functions take values in the range 0-255 (except <a href="QColor.html#hue()"><tt>hue</tt></a> which must can be specified within the range 0-359), the floating point functions accept values in the range 0.0 - 1.0&#x2e;</p>
<a name="alpha-blended-drawing"></a>
<h3>Alpha-Blended Drawing</h3>
<p><a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> also support alpha-blended outlining and filling. The alpha channel of a color specifies the transparency effect, 0 represents a fully transparent color, while 255 represents a fully opaque color. For example:</p>
<pre><span class="comment">    // Specfiy semi-transparent red</span>
    painter.setBrush(QColor(255, 0, 0, 127));
    painter.drawRect(0, 0, width()/2, height());

<span class="comment">    // Specify semi-transparend blue</span>
    painter.setBrush(QColor(0, 0, 255, 127));
    painter.drawRect(0, 0, width(), height()/2);</pre>
<p>The code above produces the following output:</p>
<p align="center"><img src="%2E%2E/images/alphafill.png" /></p><p>Alpha-blended drawing is supported on Windows, Mac OS X, and on X11 systems that have the X Render extension installed.</p>
<p>The alpha channel of a color can be retrieved and set using the <a href="QColor.html#alpha()"><tt>alpha</tt></a> and <a href="QColor.html#setAlpha(int)"><tt>setAlpha</tt></a> functions if its value is an integer, and <a href="QColor.html#alphaF()"><tt>alphaF</tt></a> and <a href="QColor.html#setAlphaF(double)"><tt>setAlphaF</tt></a> if its value is qreal (double). By default, the alpha-channel is set to 255 (opaque). To retrieve and set <i>all</i> the RGB color components (including the alpha-channel) in one go, use the <a href="QColor.html#rgba()"><tt>rgba</tt></a> and <a href="QColor.html#setRgba(int)"><tt>setRgba</tt></a> functions.</p>
<a name="predefined-colors"></a>
<h3>Predefined Colors</h3>
<p>There are 20 predefined QColors: Qt::white, Qt::black, Qt::red, Qt::darkRed, Qt::green, Qt::darkGreen, Qt::blue, Qt::darkBlue, Qt::cyan, Qt::darkCyan, Qt::magenta, Qt::darkMagenta, Qt::yellow, Qt::darkYellow, Qt::gray, Qt::darkGray, Qt::lightGray, Qt::color0, Qt::color1, and Qt::transparent.</p>
<p align="center"><img src="%2E%2E/images/qt-colors.png" alt="Qt Colors" /></p><p><a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> provides the static <a href="QColor.html#colorNames()"><tt>colorNames</tt></a> function which returns a <a href="%2E%2E/porting4.html#qstringlist"><tt>QStringList</tt></a> containing the color names Qt knows about.</p>
<p>The colors Qt::color0 (zero pixel value) and Qt::color1 (non-zero pixel value) are special colors for drawing in QBitmaps. Painting with Qt::color0 sets the bitmap bits to 0 (transparent, i.e&#x2e; background), and painting with Qt::color1 sets the bits to 1 (opaque, i.e&#x2e; foreground).</p>
<a name="the-hsv-color-model"></a>
<h3>The HSV Color Model</h3>
<p>The RGB model is hardware-oriented. Its representation is close to what most monitors show. In contrast, HSV represents color in a way more suited to the human perception of color. For example, the relationships &quot;stronger than&quot;, &quot;darker than&quot;, and &quot;the opposite of&quot; are easily expressed in HSV but are much harder to express in RGB.</p>
<p>HSV, like RGB, has three components:</p>
<ul>
<li>H, for hue, is in the range 0 to 359 if the color is chromatic (not gray), or meaningless if it is gray. It represents degrees on the color wheel familiar to most people. Red is 0 (degrees), green is 120, and blue is 240.<p><img src="%2E%2E/images/qcolor-hue.png" /></p>
</li>
<li>S, for saturation, is in the range 0 to 255, and the bigger it is, the stronger the color is. Grayish colors have saturation near 0; very strong colors have saturation near 255.<p><img src="%2E%2E/images/qcolor-saturation.png" /></p>
</li>
<li>V, for value, is in the range 0 to 255 and represents lightness or brightness of the color. 0 is black; 255 is as far from black as possible.<p><img src="%2E%2E/images/qcolor-value.png" /></p>
</li>
</ul>
<p>Here are some examples: pure red is H=0, S=255, V=255; a dark red, moving slightly towards the magenta, could be H=350 (equivalent to -10), S=255, V=180; a grayish light red could have H about 0 (say 350-359 or 0-10), S about 50-100, and S=255.</p>
<p>Qt returns a hue value of -1 for achromatic colors. If you pass a hue value that is too large, Qt forces it into range. Hue 360 or 720 is treated as 0; hue 540 is treated as 180.</p>
<p>In addition to the standard HSV model, Qt provides an alpha-channel to feature alpha-blended drawing</tt>.</p>
<a name="the-cmyk-color-model"></a>
<h3>The CMYK Color Model</h3>
<p>While the RGB and HSV color models are used for display on computer monitors, the CMYK model is used in the four-color printing process of printing presses and some hard-copy devices.</p>
<p>CMYK has four components, all in the range 0-255: cyan (C), magenta (M), yellow (Y) and black (K). Cyan, magenta and yellow are called subtractive colors; the CMYK color model creates color by starting with a white surface and then subtracting color by applying the appropriate components. While combining cyan, magenta and yellow gives the color black, subtracting one or more will yield any other color. When combined in various percentages, these three colors can create the entire spectrum of colors.</p>
<p>Mixing 100 percent of cyan, magenta and yellow <i>does</i> produce black, but the result is unsatisfactory since it wastes ink, increases drying time, and gives a muddy colour when printing. For that reason, black is added in professional printing to provide a solid black tone; hence the term 'four color process'.</p>
<p>In addition to the standard CMYK model, Qt provides an alpha-channel to feature alpha-blended drawing</tt>.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QPalette.html"><tt>QPalette</tt></a>, 
<a href="QBrush.html"><tt>QBrush</tt></a>, 
<tt>QApplication::setColorSpec</tt></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui">QColor.Spec</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The type of color specified, either RGB, HSV or CMYK.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#black">black</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#blue">blue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#color0">color0</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#color1">color1</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#cyan">cyan</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkBlue">darkBlue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkCyan">darkCyan</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkGray">darkGray</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkGreen">darkGreen</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkMagenta">darkMagenta</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkRed">darkRed</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darkYellow">darkYellow</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#gray">gray</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#green">green</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#lightGray">lightGray</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#magenta">magenta</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#red">red</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#transparent">transparent</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#white">white</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#yellow">yellow</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor()">QColor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an invalid color with the RGB value (0, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(int)">QColor</A></B>(int&nbsp;rgb)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a color with the value <tt>rgb</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(int, int, int)">QColor</A></B>(int&nbsp;r,
       int&nbsp;g,
       int&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(int, int, int, int)">QColor</A></B>(int&nbsp;r,
       int&nbsp;g,
       int&nbsp;b,
       int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a color with the RGB value <tt>r</tt>, <tt>g</tt>, <tt>b</tt>, and the alpha-channel (transparency) value of <tt>a</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(com.trolltech.qt.gui.QColor)">QColor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a color that is a copy of <tt>color</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(com.trolltech.qt.core.Qt.GlobalColor)">QColor</A></B>(<A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new color with a color value of <tt>color</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#QColor(java.lang.String)">QColor</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a named color in the same way as <a href="QColor.html#setNamedColor(java.lang.String)"><tt>setNamedColor</tt></a> using the given <tt>name</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#alpha()">alpha</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alpha color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#alphaF()">alphaF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alpha color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#black()">black</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the black color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#blackF()">blackF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the black color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#blue()">blue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the blue color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#blueF()">blueF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the blue color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#colorNames()">colorNames</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <a href="%2E%2E/porting4.html#qstringlist"><tt>QStringList</tt></a> containing the color names Qt knows about.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)">convertTo</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui">QColor.Spec</A>&nbsp;colorSpec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a copy of <i>this</i> color in the format specified by <tt>colorSpec</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#cyan()">cyan</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cyan color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#cyanF()">cyanF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cyan color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darker()">darker</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#darker(int)">darker</tt></a>(200).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#darker(int)">darker</A></B>(int&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a darker (or lighter) color, but does not change this object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromCmyk(int, int, int, int)">fromCmyk</A></B>(int&nbsp;c,
         int&nbsp;m,
         int&nbsp;y,
         int&nbsp;k)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromCmyk(int, int, int, int, int)"><tt>fromCmyk</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromCmyk(int, int, int, int, int)">fromCmyk</A></B>(int&nbsp;c,
         int&nbsp;m,
         int&nbsp;y,
         int&nbsp;k,
         int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given CMYK color values: <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromCmykF(double, double, double, double)">fromCmykF</A></B>(double&nbsp;c,
          double&nbsp;m,
          double&nbsp;y,
          double&nbsp;k)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromCmykF(double, double, double, double, double)"><tt>fromCmykF</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromCmykF(double, double, double, double, double)">fromCmykF</A></B>(double&nbsp;c,
          double&nbsp;m,
          double&nbsp;y,
          double&nbsp;k,
          double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given CMYK color values: <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromHsv(int, int, int)">fromHsv</A></B>(int&nbsp;h,
        int&nbsp;s,
        int&nbsp;v)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromHsv(int, int, int, int)"><tt>fromHsv</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromHsv(int, int, int, int)">fromHsv</A></B>(int&nbsp;h,
        int&nbsp;s,
        int&nbsp;v,
        int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the HSV color values, <tt>h</tt> (hue), <tt>s</tt> (saturation), <tt>v</tt> (value), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromHsvF(double, double, double)">fromHsvF</A></B>(double&nbsp;h,
         double&nbsp;s,
         double&nbsp;v)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromHsvF(double, double, double, double)"><tt>fromHsvF</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromHsvF(double, double, double, double)">fromHsvF</A></B>(double&nbsp;h,
         double&nbsp;s,
         double&nbsp;v,
         double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the HSV color values, <tt>h</tt> (hue), <tt>s</tt> (saturation), <tt>v</tt> (value), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QColor instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgb(int)">fromRgb</A></B>(int&nbsp;rgb)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given QRgb value <tt>rgb</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgb(int, int, int)">fromRgb</A></B>(int&nbsp;r,
        int&nbsp;g,
        int&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgb(int, int, int, int)">fromRgb</A></B>(int&nbsp;r,
        int&nbsp;g,
        int&nbsp;b,
        int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the RGB color values, <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgba(int)">fromRgba</A></B>(int&nbsp;rgba)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given QRgb value <tt>rgba</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgbF(double, double, double)">fromRgbF</A></B>(double&nbsp;r,
         double&nbsp;g,
         double&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#fromRgbF(double, double, double, double)"><tt>fromRgbF</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#fromRgbF(double, double, double, double)">fromRgbF</A></B>(double&nbsp;r,
         double&nbsp;g,
         double&nbsp;b,
         double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the RGB color values, <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#green()">green</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the green color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#greenF()">greenF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the green color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#hue()">hue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hue color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#hueF()">hueF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hue color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the color is valid; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#lighter()">lighter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#lighter(int)">lighter</tt></a>(150).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#lighter(int)">lighter</A></B>(int&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a lighter (or darker) color, but does not change this object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#magenta()">magenta</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the magenta color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#magentaF()">magentaF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the magenta color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#name()">name</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the color in the format &quot;#RRGGBB&quot;; i.e&#x2e; a &quot;#&quot; character followed by three two-digit hexadecimal numbers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#nativePointerArray(com.trolltech.qt.gui.QColor[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QColor array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QColor from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#red()">red</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the red color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#redF()">redF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the red color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#rgb()">rgb</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the RGB value of the color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#rgba()">rgba</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the RGB value of the color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#saturation()">saturation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the saturation color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#saturationF()">saturationF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the saturation color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setAlpha(int)">setAlpha</A></B>(int&nbsp;alpha)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alpha of this color to <tt>alpha</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setAlphaF(double)">setAlphaF</A></B>(double&nbsp;alpha)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alpha of this color to <tt>alpha</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setBlue(int)">setBlue</A></B>(int&nbsp;blue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the blue color component of this color to <tt>blue</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setBlueF(double)">setBlueF</A></B>(double&nbsp;blue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the blue color component of this color to <tt>blue</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setCmyk(int, int, int, int)">setCmyk</A></B>(int&nbsp;c,
        int&nbsp;m,
        int&nbsp;y,
        int&nbsp;k)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setCmyk(int, int, int, int, int)"><tt>setCmyk</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setCmyk(int, int, int, int, int)">setCmyk</A></B>(int&nbsp;c,
        int&nbsp;m,
        int&nbsp;y,
        int&nbsp;k,
        int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color to CMYK values, <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setCmykF(double, double, double, double)">setCmykF</A></B>(double&nbsp;c,
         double&nbsp;m,
         double&nbsp;y,
         double&nbsp;k)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setCmykF(double, double, double, double, double)"><tt>setCmykF</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setCmykF(double, double, double, double, double)">setCmykF</A></B>(double&nbsp;c,
         double&nbsp;m,
         double&nbsp;y,
         double&nbsp;k,
         double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color to CMYK values, <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setGreen(int)">setGreen</A></B>(int&nbsp;green)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the green color component of this color to <tt>green</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setGreenF(double)">setGreenF</A></B>(double&nbsp;green)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the green color component of this color to <tt>green</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setHsv(int, int, int)">setHsv</A></B>(int&nbsp;h,
       int&nbsp;s,
       int&nbsp;v)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setHsv(int, int, int, int)"><tt>setHsv</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setHsv(int, int, int, int)">setHsv</A></B>(int&nbsp;h,
       int&nbsp;s,
       int&nbsp;v,
       int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a HSV color value; <tt>h</tt> is the hue, <tt>s</tt> is the saturation, <tt>v</tt> is the value and <tt>a</tt> is the alpha component of the HSV color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setHsvF(double, double, double)">setHsvF</A></B>(double&nbsp;h,
        double&nbsp;s,
        double&nbsp;v)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setHsvF(double, double, double, double)"><tt>setHsvF</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setHsvF(double, double, double, double)">setHsvF</A></B>(double&nbsp;h,
        double&nbsp;s,
        double&nbsp;v,
        double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a HSV color value; <tt>h</tt> is the hue, <tt>s</tt> is the saturation, <tt>v</tt> is the value and <tt>a</tt> is the alpha component of the HSV color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setNamedColor(java.lang.String)">setNamedColor</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RGB value of this <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> to <tt>name</tt>, which may be in one of these formats:</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRed(int)">setRed</A></B>(int&nbsp;red)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the red color component of this color to <tt>red</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRedF(double)">setRedF</A></B>(double&nbsp;red)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the red color component of this color to <tt>red</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgb(int)">setRgb</A></B>(int&nbsp;rgb)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RGB value to <tt>rgb</tt>, ignoring the alpha.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgb(int, int, int)">setRgb</A></B>(int&nbsp;r,
       int&nbsp;g,
       int&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgb(int, int, int, int)">setRgb</A></B>(int&nbsp;r,
       int&nbsp;g,
       int&nbsp;b,
       int&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RGB value to <tt>r</tt>, <tt>g</tt>, <tt>b</tt> and the alpha value to <tt>a</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgba(int)">setRgba</A></B>(int&nbsp;rgba)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RGBA value to <tt>rgba</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgbF(double, double, double)">setRgbF</A></B>(double&nbsp;r,
        double&nbsp;g,
        double&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 1.0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#setRgbF(double, double, double, double)">setRgbF</A></B>(double&nbsp;r,
        double&nbsp;g,
        double&nbsp;b,
        double&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color channels of this color to <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue) and <tt>a</tt> (alpha, transparency).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui">QColor.Spec</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#spec()">spec</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns how the color was specified.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#toCmyk()">toCmyk</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a CMYK <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#toHsv()">toHsv</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns an HSV <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#toRgb()">toRgb</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create and returns an RGB <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this QColor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#value()">value</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#valueF()">valueF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQColor to arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#yellow()">yellow</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the yellow color component of this color.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QColor.html#yellowF()">yellowF</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the yellow color component of this color.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="white"><!-- --></A><H3>
white</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>white</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="black"><!-- --></A><H3>
black</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>black</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="red"><!-- --></A><H3>
red</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>red</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkRed"><!-- --></A><H3>
darkRed</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkRed</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="green"><!-- --></A><H3>
green</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>green</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkGreen"><!-- --></A><H3>
darkGreen</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkGreen</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="blue"><!-- --></A><H3>
blue</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>blue</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkBlue"><!-- --></A><H3>
darkBlue</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkBlue</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="cyan"><!-- --></A><H3>
cyan</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>cyan</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkCyan"><!-- --></A><H3>
darkCyan</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkCyan</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="magenta"><!-- --></A><H3>
magenta</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>magenta</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkMagenta"><!-- --></A><H3>
darkMagenta</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkMagenta</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="yellow"><!-- --></A><H3>
yellow</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>yellow</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkYellow"><!-- --></A><H3>
darkYellow</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkYellow</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="gray"><!-- --></A><H3>
gray</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>gray</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="darkGray"><!-- --></A><H3>
darkGray</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darkGray</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="lightGray"><!-- --></A><H3>
lightGray</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>lightGray</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="transparent"><!-- --></A><H3>
transparent</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>transparent</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="color0"><!-- --></A><H3>
color0</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>color0</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="color1"><!-- --></A><H3>
color1</H3>
<PRE>
public static final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>color1</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QColor(int)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(int&nbsp;rgb)</PRE>
<DL>
<DD><p>Constructs a color with the value <tt>rgb</tt>. The alpha component is ignored and set to solid.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DL>
<HR>

<A NAME="QColor(com.trolltech.qt.core.Qt.GlobalColor)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(<A HREF="../../../../com/trolltech/qt/core/Qt.GlobalColor.html" title="enum in com.trolltech.qt.core">Qt.GlobalColor</A>&nbsp;color)</PRE>
<DL>
<DD><p>Constructs a new color with a color value of <tt>color</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>Colors</tt></CODE></DL>
</DL>
<HR>

<A NAME="QColor(int, int, int)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(int&nbsp;r,
              int&nbsp;g,
              int&nbsp;b)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).
<P>
</DL>
<HR>

<A NAME="QColor(int, int, int, int)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(int&nbsp;r,
              int&nbsp;g,
              int&nbsp;b,
              int&nbsp;a)</PRE>
<DL>
<DD><p>Constructs a color with the RGB value <tt>r</tt>, <tt>g</tt>, <tt>b</tt>, and the alpha-channel (transparency) value of <tt>a</tt>.</p>
<p>The color is left invalid if any of the arguments are invalid.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setRgba(int)"><tt>setRgba</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DL>
<HR>

<A NAME="QColor(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</PRE>
<DL>
<DD><p>Constructs a color that is a copy of <tt>color</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DL>
<HR>

<A NAME="QColor()"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>()</PRE>
<DL>
<DD><p>Constructs an invalid color with the RGB value (0, 0, 0). An invalid color is a color that is not properly set up for the underlying window system.</p>
<p>The alpha value of an invalid color is unspecified.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DL>
<HR>

<A NAME="QColor(java.lang.String)"><!-- --></A><H3>
QColor</H3>
<PRE>
public <B>QColor</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Constructs a named color in the same way as <a href="QColor.html#setNamedColor(java.lang.String)"><tt>setNamedColor</tt></a> using the given <tt>name</tt>.</p>
<p>The color is left invalid if the <tt>name</tt> cannot be parsed.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setNamedColor(java.lang.String)"><tt>setNamedColor</tt></a>, 
<a href="QColor.html#name()"><tt>name</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="alpha()"><!-- --></A><H3>
alpha</H3>
<PRE>
public final int <B>alpha</B>()</PRE>
<DL>
<DD><p>Returns the alpha color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setAlpha(int)"><tt>setAlpha</tt></a>, 
<a href="QColor.html#alphaF()"><tt>alphaF</tt></a>, 
<CODE>Drawing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="alphaF()"><!-- --></A><H3>
alphaF</H3>
<PRE>
public final double <B>alphaF</B>()</PRE>
<DL>
<DD><p>Returns the alpha color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setAlphaF(double)"><tt>setAlphaF</tt></a>, 
<a href="QColor.html#alpha()"><tt>alpha</tt></a>, 
<CODE>Drawing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="black()"><!-- --></A><H3>
black</H3>
<PRE>
public final int <B>black</B>()</PRE>
<DL>
<DD><p>Returns the black color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#blackF()"><tt>blackF</tt></a>, 
<tt>getCmyk</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="blackF()"><!-- --></A><H3>
blackF</H3>
<PRE>
public final double <B>blackF</B>()</PRE>
<DL>
<DD><p>Returns the black color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#black()"><tt>black</tt></a>, 
<tt>getCmykF</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="blue()"><!-- --></A><H3>
blue</H3>
<PRE>
public final int <B>blue</B>()</PRE>
<DL>
<DD><p>Returns the blue color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setBlue(int)"><tt>setBlue</tt></a>, 
<a href="QColor.html#blueF()"><tt>blueF</tt></a>, 
<tt>getRgb</tt></DL>
</DD>
</DL>
<HR>

<A NAME="blueF()"><!-- --></A><H3>
blueF</H3>
<PRE>
public final double <B>blueF</B>()</PRE>
<DL>
<DD><p>Returns the blue color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setBlueF(double)"><tt>setBlueF</tt></a>, 
<a href="QColor.html#blue()"><tt>blue</tt></a>, 
<tt>getRgbF</tt></DL>
</DD>
</DL>
<HR>

<A NAME="convertTo(com.trolltech.qt.gui.QColor.Spec)"><!-- --></A><H3>
convertTo</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>convertTo</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui">QColor.Spec</A>&nbsp;colorSpec)</PRE>
<DL>
<DD><p>Creates a copy of <i>this</i> color in the format specified by <tt>colorSpec</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#spec()"><tt>spec</tt></a>, 
<a href="QColor.html#toCmyk()"><tt>toCmyk</tt></a>, 
<a href="QColor.html#toHsv()"><tt>toHsv</tt></a>, 
<a href="QColor.html#toRgb()"><tt>toRgb</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="cyan()"><!-- --></A><H3>
cyan</H3>
<PRE>
public final int <B>cyan</B>()</PRE>
<DL>
<DD><p>Returns the cyan color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#cyanF()"><tt>cyanF</tt></a>, 
<tt>getCmyk</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="cyanF()"><!-- --></A><H3>
cyanF</H3>
<PRE>
public final double <B>cyanF</B>()</PRE>
<DL>
<DD><p>Returns the cyan color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#cyan()"><tt>cyan</tt></a>, 
<tt>getCmykF</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="darker()"><!-- --></A><H3>
darker</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darker</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#darker(int)">darker</tt></a>(200).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="darker(int)"><!-- --></A><H3>
darker</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>darker</B>(int&nbsp;f)</PRE>
<DL>
<DD><p>Returns a darker (or lighter) color, but does not change this object.</p>
<p>If the <tt>f</tt> is greater than 100, this functions returns a darker color. Setting <tt>f</tt> to 300 returns a color that has one-third the brightness. If the <tt>f</tt> is less than 100, the return color is lighter, but we recommend using the <a href="QColor.html#lighter(int)"><tt>lighter</tt></a> function for this purpose. If the <tt>f</tt> is 0 or negative, the return value is unspecified.</p>
<p>The function converts the current RGB color to HSV, divides the value (V) component by <tt>f</tt> and converts the color back to RGB.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#lighter(int)"><tt>lighter</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="green()"><!-- --></A><H3>
green</H3>
<PRE>
public final int <B>green</B>()</PRE>
<DL>
<DD><p>Returns the green color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setGreen(int)"><tt>setGreen</tt></a>, 
<a href="QColor.html#greenF()"><tt>greenF</tt></a>, 
<tt>getRgb</tt></DL>
</DD>
</DL>
<HR>

<A NAME="greenF()"><!-- --></A><H3>
greenF</H3>
<PRE>
public final double <B>greenF</B>()</PRE>
<DL>
<DD><p>Returns the green color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setGreenF(double)"><tt>setGreenF</tt></a>, 
<a href="QColor.html#green()"><tt>green</tt></a>, 
<tt>getRgbF</tt></DL>
</DD>
</DL>
<HR>

<A NAME="hue()"><!-- --></A><H3>
hue</H3>
<PRE>
public final int <B>hue</B>()</PRE>
<DL>
<DD><p>Returns the hue color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#hueF()"><tt>hueF</tt></a>, 
<tt>getHsv</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="hueF()"><!-- --></A><H3>
hueF</H3>
<PRE>
public final double <B>hueF</B>()</PRE>
<DL>
<DD><p>Returns the hue color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#hue()"><tt>hue</tt></a>, 
<tt>getHsvF</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the color is valid; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lighter()"><!-- --></A><H3>
lighter</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>lighter</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#lighter(int)">lighter</tt></a>(150).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lighter(int)"><!-- --></A><H3>
lighter</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>lighter</B>(int&nbsp;f)</PRE>
<DL>
<DD><p>Returns a lighter (or darker) color, but does not change this object.</p>
<p>If the <tt>f</tt> is greater than 100, this functions returns a lighter color. Setting <tt>f</tt> to 150 returns a color that is 50% brighter. If the <tt>f</tt> is less than 100, the return color is darker, but we recommend using the <a href="QColor.html#darker(int)"><tt>darker</tt></a> function for this purpose. If the <tt>f</tt> is 0 or negative, the return value is unspecified.</p>
<p>The function converts the current RGB color to HSV, multiplies the value (V) component by <tt>f</tt> and converts the color back to RGB.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#darker(int)"><tt>darker</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="magenta()"><!-- --></A><H3>
magenta</H3>
<PRE>
public final int <B>magenta</B>()</PRE>
<DL>
<DD><p>Returns the magenta color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#magentaF()"><tt>magentaF</tt></a>, 
<tt>getCmyk</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="magentaF()"><!-- --></A><H3>
magentaF</H3>
<PRE>
public final double <B>magentaF</B>()</PRE>
<DL>
<DD><p>Returns the magenta color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#magenta()"><tt>magenta</tt></a>, 
<tt>getCmykF</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="name()"><!-- --></A><H3>
name</H3>
<PRE>
public final java.lang.String <B>name</B>()</PRE>
<DL>
<DD><p>Returns the name of the color in the format &quot;#RRGGBB&quot;; i.e&#x2e; a &quot;#&quot; character followed by three two-digit hexadecimal numbers.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setNamedColor(java.lang.String)"><tt>setNamedColor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQColor to arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QColor from arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="red()"><!-- --></A><H3>
red</H3>
<PRE>
public final int <B>red</B>()</PRE>
<DL>
<DD><p>Returns the red color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setRed(int)"><tt>setRed</tt></a>, 
<a href="QColor.html#redF()"><tt>redF</tt></a>, 
<tt>getRgb</tt></DL>
</DD>
</DL>
<HR>

<A NAME="redF()"><!-- --></A><H3>
redF</H3>
<PRE>
public final double <B>redF</B>()</PRE>
<DL>
<DD><p>Returns the red color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setRedF(double)"><tt>setRedF</tt></a>, 
<a href="QColor.html#red()"><tt>red</tt></a>, 
<tt>getRgbF</tt></DL>
</DD>
</DL>
<HR>

<A NAME="rgb()"><!-- --></A><H3>
rgb</H3>
<PRE>
public final int <B>rgb</B>()</PRE>
<DL>
<DD><p>Returns the RGB value of the color. The alpha is stripped for compatibility.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>, 
<tt>getRgb</tt>, 
<a href="QColor.html#rgba()"><tt>rgba</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rgba()"><!-- --></A><H3>
rgba</H3>
<PRE>
public final int <B>rgba</B>()</PRE>
<DL>
<DD><p>Returns the RGB value of the color. Note that unlike <a href="QColor.html#rgb()"><tt>rgb</tt></a>, the alpha is not stripped.</p>
<p>For an invalid color, the alpha value of the returned color is unspecified.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#setRgba(int)"><tt>setRgba</tt></a>, 
<a href="QColor.html#rgb()"><tt>rgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="saturation()"><!-- --></A><H3>
saturation</H3>
<PRE>
public final int <B>saturation</B>()</PRE>
<DL>
<DD><p>Returns the saturation color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#saturationF()"><tt>saturationF</tt></a>, 
<tt>getHsv</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="saturationF()"><!-- --></A><H3>
saturationF</H3>
<PRE>
public final double <B>saturationF</B>()</PRE>
<DL>
<DD><p>Returns the saturation color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#saturation()"><tt>saturation</tt></a>, 
<tt>getHsvF</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setAlpha(int)"><!-- --></A><H3>
setAlpha</H3>
<PRE>
public final void <B>setAlpha</B>(int&nbsp;alpha)</PRE>
<DL>
<DD><p>Sets the alpha of this color to <tt>alpha</tt>. Integer alpha is specified in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#alpha()"><tt>alpha</tt></a>, 
<a href="QColor.html#alphaF()"><tt>alphaF</tt></a>, 
<CODE>Drawing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setAlphaF(double)"><!-- --></A><H3>
setAlphaF</H3>
<PRE>
public final void <B>setAlphaF</B>(double&nbsp;alpha)</PRE>
<DL>
<DD><p>Sets the alpha of this color to <tt>alpha</tt>. qreal alpha is specified in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#alphaF()"><tt>alphaF</tt></a>, 
<a href="QColor.html#alpha()"><tt>alpha</tt></a>, 
<CODE>Drawing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setBlue(int)"><!-- --></A><H3>
setBlue</H3>
<PRE>
public final void <B>setBlue</B>(int&nbsp;blue)</PRE>
<DL>
<DD><p>Sets the blue color component of this color to <tt>blue</tt>. Int components are specified in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#blue()"><tt>blue</tt></a>, 
<a href="QColor.html#blueF()"><tt>blueF</tt></a>, 
<a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBlueF(double)"><!-- --></A><H3>
setBlueF</H3>
<PRE>
public final void <B>setBlueF</B>(double&nbsp;blue)</PRE>
<DL>
<DD><p>Sets the blue color component of this color to <tt>blue</tt>. Float components are specified in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#blueF()"><tt>blueF</tt></a>, 
<a href="QColor.html#blue()"><tt>blue</tt></a>, 
<a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCmyk(int, int, int, int)"><!-- --></A><H3>
setCmyk</H3>
<PRE>
public final void <B>setCmyk</B>(int&nbsp;c,
                          int&nbsp;m,
                          int&nbsp;y,
                          int&nbsp;k)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setCmyk(int, int, int, int, int)"><tt>setCmyk</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCmyk(int, int, int, int, int)"><!-- --></A><H3>
setCmyk</H3>
<PRE>
public final void <B>setCmyk</B>(int&nbsp;c,
                          int&nbsp;m,
                          int&nbsp;y,
                          int&nbsp;k,
                          int&nbsp;a)</PRE>
<DL>
<DD><p>Sets the color to CMYK values, <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getCmyk</tt>, 
<a href="QColor.html#setCmykF(double, double, double, double, double)"><tt>setCmykF</tt></a>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setCmykF(double, double, double, double)"><!-- --></A><H3>
setCmykF</H3>
<PRE>
public final void <B>setCmykF</B>(double&nbsp;c,
                           double&nbsp;m,
                           double&nbsp;y,
                           double&nbsp;k)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setCmykF(double, double, double, double, double)"><tt>setCmykF</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCmykF(double, double, double, double, double)"><!-- --></A><H3>
setCmykF</H3>
<PRE>
public final void <B>setCmykF</B>(double&nbsp;c,
                           double&nbsp;m,
                           double&nbsp;y,
                           double&nbsp;k,
                           double&nbsp;a)</PRE>
<DL>
<DD><p>Sets the color to CMYK values, <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getCmykF</tt>, 
<a href="QColor.html#setCmyk(int, int, int, int, int)"><tt>setCmyk</tt></a>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setGreen(int)"><!-- --></A><H3>
setGreen</H3>
<PRE>
public final void <B>setGreen</B>(int&nbsp;green)</PRE>
<DL>
<DD><p>Sets the green color component of this color to <tt>green</tt>. Int components are specified in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#green()"><tt>green</tt></a>, 
<a href="QColor.html#greenF()"><tt>greenF</tt></a>, 
<a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setGreenF(double)"><!-- --></A><H3>
setGreenF</H3>
<PRE>
public final void <B>setGreenF</B>(double&nbsp;green)</PRE>
<DL>
<DD><p>Sets the green color component of this color to <tt>green</tt>. Float components are specified in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#greenF()"><tt>greenF</tt></a>, 
<a href="QColor.html#green()"><tt>green</tt></a>, 
<a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHsv(int, int, int)"><!-- --></A><H3>
setHsv</H3>
<PRE>
public final void <B>setHsv</B>(int&nbsp;h,
                         int&nbsp;s,
                         int&nbsp;v)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setHsv(int, int, int, int)"><tt>setHsv</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setHsv(int, int, int, int)"><!-- --></A><H3>
setHsv</H3>
<PRE>
public final void <B>setHsv</B>(int&nbsp;h,
                         int&nbsp;s,
                         int&nbsp;v,
                         int&nbsp;a)</PRE>
<DL>
<DD><p>Sets a HSV color value; <tt>h</tt> is the hue, <tt>s</tt> is the saturation, <tt>v</tt> is the value and <tt>a</tt> is the alpha component of the HSV color.</p>
<p>The saturation, value and alpha-channel values must be in the range 0-255, and the hue value must be greater than -1.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getHsv</tt>, 
<a href="QColor.html#setHsvF(double, double, double, double)"><tt>setHsvF</tt></a>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setHsvF(double, double, double)"><!-- --></A><H3>
setHsvF</H3>
<PRE>
public final void <B>setHsvF</B>(double&nbsp;h,
                          double&nbsp;s,
                          double&nbsp;v)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setHsvF(double, double, double, double)"><tt>setHsvF</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setHsvF(double, double, double, double)"><!-- --></A><H3>
setHsvF</H3>
<PRE>
public final void <B>setHsvF</B>(double&nbsp;h,
                          double&nbsp;s,
                          double&nbsp;v,
                          double&nbsp;a)</PRE>
<DL>
<DD><p>Sets a HSV color value; <tt>h</tt> is the hue, <tt>s</tt> is the saturation, <tt>v</tt> is the value and <tt>a</tt> is the alpha component of the HSV color.</p>
<p>All the values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getHsvF</tt>, 
<a href="QColor.html#setHsv(int, int, int, int)"><tt>setHsv</tt></a>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setNamedColor(java.lang.String)"><!-- --></A><H3>
setNamedColor</H3>
<PRE>
public final void <B>setNamedColor</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Sets the RGB value of this <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> to <tt>name</tt>, which may be in one of these formats:</p>
<ul>
<li>#RGB (each of R, G, and B is a single hex digit)</li>
<li>#RRGGBB</li>
<li>#RRRGGGBBB</li>
<li>#RRRRGGGGBBBB</li>
<li>A name from the list of colors defined in the list of SVG color keyword names</tt> provided by the World Wide Web Consortium; for example, &quot;steelblue&quot; or &quot;gainsboro&quot;. These color names work on all platforms.</li>
<li><tt>transparent</tt> - representing the absence of a color.</li>
<li><i>X11 only</i>: If allowX11ColorNames() returns true, any valid X11 color name. See the documentation for <tt>XParseColor()</tt> for information about valid X11 color names.</li>
</ul>
<p>The color is invalid if <tt>name</tt> cannot be parsed.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a>, 
<a href="QColor.html#name()"><tt>name</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<tt>allowX11ColorNames</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setRed(int)"><!-- --></A><H3>
setRed</H3>
<PRE>
public final void <B>setRed</B>(int&nbsp;red)</PRE>
<DL>
<DD><p>Sets the red color component of this color to <tt>red</tt>. Int components are specified in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#red()"><tt>red</tt></a>, 
<a href="QColor.html#redF()"><tt>redF</tt></a>, 
<a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRedF(double)"><!-- --></A><H3>
setRedF</H3>
<PRE>
public final void <B>setRedF</B>(double&nbsp;red)</PRE>
<DL>
<DD><p>Sets the red color component of this color to <tt>red</tt>. Float components are specified in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#redF()"><tt>redF</tt></a>, 
<a href="QColor.html#red()"><tt>red</tt></a>, 
<a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRgb(int, int, int)"><!-- --></A><H3>
setRgb</H3>
<PRE>
public final void <B>setRgb</B>(int&nbsp;r,
                         int&nbsp;g,
                         int&nbsp;b)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRgb(int, int, int, int)"><!-- --></A><H3>
setRgb</H3>
<PRE>
public final void <B>setRgb</B>(int&nbsp;r,
                         int&nbsp;g,
                         int&nbsp;b,
                         int&nbsp;a)</PRE>
<DL>
<DD><p>Sets the RGB value to <tt>r</tt>, <tt>g</tt>, <tt>b</tt> and the alpha value to <tt>a</tt>.</p>
<p>All the values must be in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#rgb()"><tt>rgb</tt></a>, 
<tt>getRgb</tt>, 
<a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRgb(int)"><!-- --></A><H3>
setRgb</H3>
<PRE>
public final void <B>setRgb</B>(int&nbsp;rgb)</PRE>
<DL>
<DD><p>Sets the RGB value to <tt>rgb</tt>, ignoring the alpha.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#rgb()"><tt>rgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRgbF(double, double, double)"><!-- --></A><H3>
setRgbF</H3>
<PRE>
public final void <B>setRgbF</B>(double&nbsp;r,
                          double&nbsp;g,
                          double&nbsp;b)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#setRgbF(double, double, double, double)"><tt>setRgbF</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRgbF(double, double, double, double)"><!-- --></A><H3>
setRgbF</H3>
<PRE>
public final void <B>setRgbF</B>(double&nbsp;r,
                          double&nbsp;g,
                          double&nbsp;b,
                          double&nbsp;a)</PRE>
<DL>
<DD><p>Sets the color channels of this color to <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue) and <tt>a</tt> (alpha, transparency).</p>
<p>All values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#rgb()"><tt>rgb</tt></a>, 
<tt>getRgbF</tt>, 
<a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRgba(int)"><!-- --></A><H3>
setRgba</H3>
<PRE>
public final void <B>setRgba</B>(int&nbsp;rgba)</PRE>
<DL>
<DD><p>Sets the RGBA value to <tt>rgba</tt>. Note that unlike <a href="QColor.html#setRgb(int)"><tt>setRgb</tt></a>(QRgb rgb), this function does not ignore the alpha.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#rgba()"><tt>rgba</tt></a>, 
<a href="QColor.html#rgb()"><tt>rgb</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="spec()"><!-- --></A><H3>
spec</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui">QColor.Spec</A> <B>spec</B>()</PRE>
<DL>
<DD><p>Returns how the color was specified.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#Spec-enum">Spec</tt></a>, 
<a href="QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)"><tt>convertTo</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toCmyk()"><!-- --></A><H3>
toCmyk</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>toCmyk</B>()</PRE>
<DL>
<DD><p>Creates and returns a CMYK <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromCmyk(int, int, int, int, int)"><tt>fromCmyk</tt></a>, 
<a href="QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)"><tt>convertTo</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toHsv()"><!-- --></A><H3>
toHsv</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>toHsv</B>()</PRE>
<DL>
<DD><p>Creates and returns an HSV <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromHsv(int, int, int, int)"><tt>fromHsv</tt></a>, 
<a href="QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)"><tt>convertTo</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toRgb()"><!-- --></A><H3>
toRgb</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>toRgb</B>()</PRE>
<DL>
<DD><p>Create and returns an RGB <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> based on this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>, 
<a href="QColor.html#convertTo(com.trolltech.qt.gui.QColor.Spec)"><tt>convertTo</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="value()"><!-- --></A><H3>
value</H3>
<PRE>
public final int <B>value</B>()</PRE>
<DL>
<DD><p>Returns the value color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#valueF()"><tt>valueF</tt></a>, 
<tt>getHsv</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="valueF()"><!-- --></A><H3>
valueF</H3>
<PRE>
public final double <B>valueF</B>()</PRE>
<DL>
<DD><p>Returns the value color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#value()"><tt>value</tt></a>, 
<tt>getHsvF</tt>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="yellow()"><!-- --></A><H3>
yellow</H3>
<PRE>
public final int <B>yellow</B>()</PRE>
<DL>
<DD><p>Returns the yellow color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#yellowF()"><tt>yellowF</tt></a>, 
<tt>getCmyk</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="yellowF()"><!-- --></A><H3>
yellowF</H3>
<PRE>
public final double <B>yellowF</B>()</PRE>
<DL>
<DD><p>Returns the yellow color component of this color.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#yellow()"><tt>yellow</tt></a>, 
<tt>getCmykF</tt>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="colorNames()"><!-- --></A><H3>
colorNames</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>colorNames</B>()</PRE>
<DL>
<DD><p>Returns a <a href="%2E%2E/porting4.html#qstringlist"><tt>QStringList</tt></a> containing the color names Qt knows about.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><CODE>Colors</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromCmyk(int, int, int, int)"><!-- --></A><H3>
fromCmyk</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromCmyk</B>(int&nbsp;c,
                              int&nbsp;m,
                              int&nbsp;y,
                              int&nbsp;k)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromCmyk(int, int, int, int, int)"><tt>fromCmyk</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromCmyk(int, int, int, int, int)"><!-- --></A><H3>
fromCmyk</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromCmyk</B>(int&nbsp;c,
                              int&nbsp;m,
                              int&nbsp;y,
                              int&nbsp;k,
                              int&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given CMYK color values: <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#toCmyk()"><tt>toCmyk</tt></a>, 
<a href="QColor.html#fromCmykF(double, double, double, double, double)"><tt>fromCmykF</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromCmykF(double, double, double, double)"><!-- --></A><H3>
fromCmykF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromCmykF</B>(double&nbsp;c,
                               double&nbsp;m,
                               double&nbsp;y,
                               double&nbsp;k)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromCmykF(double, double, double, double, double)"><tt>fromCmykF</tt></a>(<tt>c</tt>, <tt>m</tt>, <tt>y</tt>, <tt>k</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromCmykF(double, double, double, double, double)"><!-- --></A><H3>
fromCmykF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromCmykF</B>(double&nbsp;c,
                               double&nbsp;m,
                               double&nbsp;y,
                               double&nbsp;k,
                               double&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given CMYK color values: <tt>c</tt> (cyan), <tt>m</tt> (magenta), <tt>y</tt> (yellow), <tt>k</tt> (black), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#toCmyk()"><tt>toCmyk</tt></a>, 
<a href="QColor.html#fromCmyk(int, int, int, int, int)"><tt>fromCmyk</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>CMYK Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromHsv(int, int, int)"><!-- --></A><H3>
fromHsv</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromHsv</B>(int&nbsp;h,
                             int&nbsp;s,
                             int&nbsp;v)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromHsv(int, int, int, int)"><tt>fromHsv</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromHsv(int, int, int, int)"><!-- --></A><H3>
fromHsv</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromHsv</B>(int&nbsp;h,
                             int&nbsp;s,
                             int&nbsp;v,
                             int&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the HSV color values, <tt>h</tt> (hue), <tt>s</tt> (saturation), <tt>v</tt> (value), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>The value of <tt>s</tt>, <tt>v</tt>, and <tt>a</tt> must all be in the range 0-255; the value of <tt>h</tt> must be in the range 0-359.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#toHsv()"><tt>toHsv</tt></a>, 
<a href="QColor.html#fromHsvF(double, double, double, double)"><tt>fromHsvF</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromHsvF(double, double, double)"><!-- --></A><H3>
fromHsvF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromHsvF</B>(double&nbsp;h,
                              double&nbsp;s,
                              double&nbsp;v)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromHsvF(double, double, double, double)"><tt>fromHsvF</tt></a>(<tt>h</tt>, <tt>s</tt>, <tt>v</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromHsvF(double, double, double, double)"><!-- --></A><H3>
fromHsvF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromHsvF</B>(double&nbsp;h,
                              double&nbsp;s,
                              double&nbsp;v,
                              double&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the HSV color values, <tt>h</tt> (hue), <tt>s</tt> (saturation), <tt>v</tt> (value), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#toHsv()"><tt>toHsv</tt></a>, 
<a href="QColor.html#fromHsv(int, int, int, int)"><tt>fromHsv</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a>, 
<CODE>HSV Color Model</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="fromRgb(int)"><!-- --></A><H3>
fromRgb</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgb</B>(int&nbsp;rgb)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given QRgb value <tt>rgb</tt>.</p>
<p>Note that the alpha component of <tt>rgb</tt> is ignored (i.e&#x2e; it is automatically set to 255), use the <a href="QColor.html#fromRgba(int)"><tt>fromRgba</tt></a> function to include the alpha-channel specified by the given QRgb value.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromRgba(int)"><tt>fromRgba</tt></a>, 
<a href="QColor.html#fromRgbF(double, double, double, double)"><tt>fromRgbF</tt></a>, 
<a href="QColor.html#toRgb()"><tt>toRgb</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromRgb(int, int, int)"><!-- --></A><H3>
fromRgb</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgb</B>(int&nbsp;r,
                             int&nbsp;g,
                             int&nbsp;b)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 255).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromRgb(int, int, int, int)"><!-- --></A><H3>
fromRgb</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgb</B>(int&nbsp;r,
                             int&nbsp;g,
                             int&nbsp;b,
                             int&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the RGB color values, <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0-255.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#toRgb()"><tt>toRgb</tt></a>, 
<a href="QColor.html#fromRgbF(double, double, double, double)"><tt>fromRgbF</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromRgbF(double, double, double)"><!-- --></A><H3>
fromRgbF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgbF</B>(double&nbsp;r,
                              double&nbsp;g,
                              double&nbsp;b)</PRE>
<DL>
<DD><p>Equivalent to <a href="QColor.html#fromRgbF(double, double, double, double)"><tt>fromRgbF</tt></a>(<tt>r</tt>, <tt>g</tt>, <tt>b</tt>, 1.0).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromRgbF(double, double, double, double)"><!-- --></A><H3>
fromRgbF</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgbF</B>(double&nbsp;r,
                              double&nbsp;g,
                              double&nbsp;b,
                              double&nbsp;a)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the RGB color values, <tt>r</tt> (red), <tt>g</tt> (green), <tt>b</tt> (blue), and <tt>a</tt> (alpha-channel, i.e&#x2e; transparency).</p>
<p>All the values must be in the range 0.0-1.0&#x2e;</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>, 
<a href="QColor.html#toRgb()"><tt>toRgb</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromRgba(int)"><!-- --></A><H3>
fromRgba</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromRgba</B>(int&nbsp;rgba)</PRE>
<DL>
<DD><p>Static convenience function that returns a <a href="QColor.html#QColor(java.lang.String)"><tt>QColor</tt></a> constructed from the given QRgb value <tt>rgba</tt>.</p>
<p>Note that unlike the <a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a> function, the alpha-channel specified by the given QRgb value is included.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QColor.html#fromRgb(int, int, int, int)"><tt>fromRgb</tt></a>, 
<a href="QColor.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QColor instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.gui.QColor[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QColor array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string representation of this QColor.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QCloseEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QColor.Spec.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QColor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QColor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>