The python method qgis.PyQt.QtGui.QColor.fromRgb is used to create a QColor object by specifying the red, green, and blue components of the color. It takes in three integer values ranging from 0 to 255 representing the intensity of each component, and returns a QColor object that can be used to set or retrieve the RGB color values.
Python QColor.fromRgb - 22 examples found. These are the top rated real world Python examples of qgis.PyQt.QtGui.QColor.fromRgb extracted from open source projects. You can rate examples to help us improve the quality of examples.