Skip to main content
A newer version of this page is available. .

XlColor.FromArgb(Byte, Byte, Byte) Method

Creates the XlColor object from the specified 8-bit color values (red, green, and blue).

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v19.2.Core.dll

Declaration

public static XlColor FromArgb(
    byte red,
    byte green,
    byte blue
)

Parameters

Name Type Description
red Byte

An 8-bit integer that specifies the red component value for the new color. Valid values are 0 through 255.

green Byte

An 8-bit integer that specifies the green component value for the new color. Valid values are 0 through 255.

blue Byte

An 8-bit integer that specifies the blue component value for the new color. Valid values are 0 through 255.

Returns

Type Description
XlColor

An XlColor class instance.

Remarks

The alpha value is implicitly 255 (fully opaque).

See Also