struct COREWEBVIEW2_COLOR

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2.

Summary

Members Descriptions
A Specifies the intensity of the Alpha ie.
B Specifies the intensity of the Blue color.
G Specifies the intensity of the Green color.
R Specifies the intensity of the Red color.

Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease

Members

A

Specifies the intensity of the Alpha ie.

public BYTE A

opacity value. 0 is transparent, 255 is opaque.

B

Specifies the intensity of the Blue color.

public BYTE B

G

Specifies the intensity of the Green color.

public BYTE G

R

Specifies the intensity of the Red color.

public BYTE R