//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 The <code>RGBColor</code> interface is used to represent any <a
 href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-color">
 RGB color </a> value. This interface reflects the values in the
 underlying style property. Hence, modifications made through this
 interface modify the style property.
 		@short    The <code>RGBColor</code> interface is used to represent any <a  href="http://www.

*/
public class RGBColor implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected RGBColor(Class dummy){}

	public RGBColor() {
		newRGBColor();
	}
	private native void newRGBColor();
	public RGBColor(int color) {
		newRGBColor(color);
	}
	private native void newRGBColor(int color);
	public RGBColor(RGBColor other) {
		newRGBColor(other);
	}
	private native void newRGBColor(RGBColor other);
	/**	
		 This attribute is used for the red value of the RGB color.
			     		@short    This attribute is used for the red value of the RGB color.
	*/
	public native CSSPrimitiveValue red();
	/**	
		 This attribute is used for the green value of the RGB color.
			     		@short    This attribute is used for the green value of the RGB color.
	*/
	public native CSSPrimitiveValue green();
	/**	
		 This attribute is used for the blue value of the RGB color.
			     		@short    This attribute is used for the blue value of the RGB color.
	*/
	public native CSSPrimitiveValue blue();
	/**	
			     		@short
	*/
	public native int color();
}
