List of All Members for QColor | Qt GUI | Qt 6.10.3
Description: The QColor class provides colors based on RGB, HSV or CMYK values.

- Qt 6.10
- Qt GUI
- C++ Classes
- QColor
- Qt 6.10.3 Reference Documentation

# List of All Members for QColor

This is the complete list of members for QColor, including inherited members.

enum NameFormat enum Spec QColor() QColor(QRgb) QColor(QRgba64) QColor(const QString &) QColor(int, int, int, int) QColor(QLatin1StringView) QColor(Qt::GlobalColor) QColor(const char *) alpha() const : int alphaF() const : float black() const : int blackF() const : float blue() const : int blueF() const : float colorNames() : QStringList convertTo(QColor::Spec) const : QColor cyan() const : int cyanF() const : float darker(int) const : QColor fromCmyk(int, int, int, int, int) : QColor fromCmykF(float, float, float, float, float) : QColor fromHsl(int, int, int, int) : QColor fromHslF(float, float, float, float) : QColor fromHsv(int, int, int, int) : QColor fromHsvF(float, float, float, float) : QColor fromRgb(QRgb) : QColor fromRgb(int, int, int, int) : QColor fromRgba64(QRgba64) : QColor fromRgba64(ushort, ushort, ushort, ushort) : QColor fromRgbF(float, float, float, float) : QColor fromRgba(QRgb) : QColor fromString(QAnyStringView) : QColor getCmyk(int *, int *, int *, int *, int *) const getCmykF(float *, float *, float *, float *, float *) const getHsl(int *, int *, int *, int *) const getHslF(float *, float *, float *, float *) const getHsv(int *, int *, int *, int *) const getHsvF(float *, float *, float *, float *) const getRgb(int *, int *, int *, int *) const getRgbF(float *, float *, float *, float *) const green() const : int greenF() const : float hslHue() const : int hslHueF() const : float hslSaturation() const : int hslSaturationF() const : float hsvHue() const : int hsvHueF() const : float hsvSaturation() const : int | hsvSaturationF() const : float hue() const : int hueF() const : float isValid() const : bool isValidColorName(QAnyStringView) : bool lighter(int) const : QColor lightness() const : int lightnessF() const : float magenta() const : int magentaF() const : float name(QColor::NameFormat) const : QString red() const : int redF() const : float rgb() const : QRgb rgba64() const : QRgba64 rgba() const : QRgb saturation() const : int saturationF() const : float setAlpha(int) setAlphaF(float) setBlue(int) setBlueF(float) setCmyk(int, int, int, int, int) setCmykF(float, float, float, float, float) setGreen(int) setGreenF(float) setHsl(int, int, int, int) setHslF(float, float, float, float) setHsv(int, int, int, int) setHsvF(float, float, float, float) setRed(int) setRedF(float) setRgb(int, int, int, int) setRgb(QRgb) setRgba64(QRgba64) setRgbF(float, float, float, float) setRgba(QRgb) spec() const : QColor::Spec toCmyk() const : QColor toExtendedRgb() const : QColor toHsl() const : QColor toHsv() const : QColor toRgb() const : QColor value() const : int valueF() const : float yellow() const : int yellowF() const : float operator QVariant() const : QVariant operator!=(const QColor &) const : bool operator=(Qt::GlobalColor) : QColor & operator==(const QColor &) const : bool