Color can convert itself to alpha-premultiplied 16-bits per channel RGBA. The conversion may be lossy.

See also:

Fields

@:interfacetypeffundynamicrGBA():{_3:GoUInt32, _2:GoUInt32, _1:GoUInt32, _0:GoUInt32}

RGBA returns the alpha-premultiplied red, green, blue and alpha values for the color. Each value ranges within [0, 0xffff], but is represented by a uint32 so that multiplying by a blend factor up to 0xffff will not overflow.

An alpha-premultiplied color component c has been scaled by alpha (a), so has valid values 0 <= c <= a.

__underlying__():AnyInterface

Allows struct or interfaces to provide back type information.

Returns:

go.AnyInterface