RGB_GetR

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Language > BuiltIn Functions > Numeric functions > RGB >

RGB_GetR

 

Description

 

Return an Red part of a RGB color value.

 

Syntax

 

n = RGB_GetR(RGBColor)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

RGBColor

Numeric

No

A LONG (4 bytes) number representing a RGB color

 

Remarks

 

Restrictions

 

See also

 

BGR RGB

 

Examples