toDecimalString(includeAlpha)
includeAlpha. Indicates if the opacity value is displayed.
The toDecimalString method returns the string that contains color value in RGB/RGBA format.
If this parameter is set to True, the string looks like rgba(0, 255, 0, 1).
If this parameter is set to False (default), the string looks like: rgb(0, 255, 0).
The example of use is given in description of the Color.toString method.
See also: