Color

Overview

Color is a struct in Aspose.Cells for NET. Inherits from: IEquatable<Color>.

Color.Color creates a color from ARGB byte components.

Properties

NameTypeAccessDescription
AbyteReadGets the alpha component of the color
RbyteReadGets the red component of the color
GbyteReadGets the green component of the color
BbyteReadGets the blue component of the color
EmptyColorReadRepresents a color with all components set to zero (transparent black)

Methods

SignatureDescription
Color(a: byte, r: byte, g: byte, b: byte)Creates a color from alpha, red, green, blue byte components
FromArgb(a: int, r: int, g: int, b: int)Creates a color from ARGB integer components
Equals(other: Color)Determines whether this color equals the specified object
Equals(obj: object?)
GetHashCode()Returns a hash code based on the ARGB components