DOM.RGBColor

KDE 4.2 PyKDE API Reference

- KDE's Python API

# RGBColor Class Reference

`from PyKDE4.khtml import *`

Namespace: DOM

## Detailed Description

## Methods
| __init__ (self)
| __init__ (self, QColor c)
| __init__ (self, QRgb color)
| __init__ (self, DOM.RGBColor other)
DOM.CSSPrimitiveValue | blue (self)
QRgb | color (self)
DOM.CSSPrimitiveValue | green (self)
DOM.CSSPrimitiveValue | red (self)

## Method Documentation

__init__ | ( |  | self ) |

__init__ | ( | self, |
|  | QColor | c
| ) |  |  |

Deprecated:

__init__ | ( | self, |
|  | QRgb | color
| ) |  |  |

__init__ | ( | self, |
|  | DOM.RGBColor | other
| ) |  |  |

DOM.CSSPrimitiveValue blue | ( |  | self ) |

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

QRgb color | ( |  | self ) |

Internal:

DOM.CSSPrimitiveValue green | ( |  | self ) |

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

DOM.CSSPrimitiveValue red | ( |  | self ) |

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