ColorValue

Overview

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

Represents color value.

Properties

NameTypeAccessDescription
AbyteReadGets the alpha component (0 = transparent, 255 = opaque).
RbyteReadGets the red component.
GbyteReadGets the green component.
BbyteReadGets the blue component.
ThemeIndexint?ReadGets the theme color index, or null if not a theme color.
Tintdouble?ReadGets the tint/shade modifier applied to a theme color.
Indexedint?ReadGets the indexed color value, or null if not an indexed color.

Methods

SignatureDescription
ColorValue(a: byte, r: byte, g: byte, b: byte)Creates a theme color using a theme index and optional tint
ColorValue(themeIndex: int, tint: double?)
ColorValue(indexed: int)
Equals(other: ColorValue)Determines whether the given object is equal to this ColorValue
Equals(obj: object)
GetHashCode()Returns a hash code for this ColorValue

See Also