Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

PC.IColor Interface

Defines a color value by specifying red, green, blue and alpha component. All values must be integer numbers in range [0..255].

Declaration

interface PC.IColor {
    // Properties
    ${r}?: number;
    ${g}?: number;
    ${b}?: number;
    ${a}?: number;
}
// This interface is not available in managed environment
// This interface is not available in native environment

PC.IColor Properties

r

r?: number;
// This property is not available in managed environment
// This property is not available in native environment

Red component (0..255)

g

g?: number;
// This property is not available in managed environment
// This property is not available in native environment

Green component (0..255)

b

b?: number;
// This property is not available in managed environment
// This property is not available in native environment

Blue component (0..255)

a

a?: number;
// This property is not available in managed environment
// This property is not available in native environment

Alpha component (0..255). If omitted, 255 (full opaque) is used.