Color

Overview

Color is a class in Aspose.Slides FOSS for Python.

Represents an ARGB color, equivalent to System.Drawing.Color.

Properties

NameTypeAccessDescription
rintReadRepresents the red channel value of the color (0-255)
gintReadRepresents the green channel value of the color (0-255)
bintReadRepresents the blue channel value of the color (0-255)
aintReadRepresents the alpha (transparency) channel value of the color (0-255)

Methods

SignatureDescription
__init__(a: int, r: int, g: int, b: int)
from_argb()ColorCreate a Color from ARGB components.

See Also