RED32: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{DISPLAYTITLE:_RED32}} The _RED32 function returns the red component intensity of a 32-bit image or surface color. {{PageSyntax}} : {{Parameter|red32color&}} = _RED32({{Parameter|rgbaColor&}}) {{PageDescription}} * {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the red component intensity value from. * ''RGBA'' color values are returned by the _PALETTECOLOR, POINT, _RGB, _RGB32, _RGBA or [...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [https://qb64phoenix.com/forum/showthread.php?tid=1060 Featured in our "Keyword of the Day" series] | |||
* [[_BLUE32]], [[_GREEN32]] | * [[_BLUE32]], [[_GREEN32]] | ||
* [[_RGB32]], [[_RED]] | * [[_RGB32]], [[_RED]] |
Latest revision as of 19:23, 24 May 2024
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, POINT, _RGB, _RGB32, _RGBA or _RGBA32 functions.
- LONG intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
Examples
- See the example in POINT.
See also