1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_RED32.md
2022-12-24 21:14:48 -06:00

716 B

The _RED32 function returns the red component intensity of a 32-bit image or surface color.

Syntax

red32color& = _RED32(rgbaColor&)

Description

  • rgbaColor& is the 32-bit RGBA color value to retrieve the red component intensity value from.
  • RGBA color values are returned by the _PALETTECOLOR (function), POINT, _RGB, _RGB32, _RGBA or _RGBA32 functions.
  • LONG intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).

Example(s)

  • See the example in POINT.

See Also