Function Reference


_ColorGetGreen

Returns the green component of a given color

#include <Color.au3>
_ColorGetGreen ( $iColor )

Parameters

$iColor The RGB color to work with (0x00RRGGBB).

Return Value

Returns the component color in the range 0-255.

Related

_ColorGetBlue, _ColorGetRed, _ColorGetRGB

Example

#include <Color.au3>
#include <MsgBoxConstants.au3>

Local $iGreenColor = _ColorGetGreen(0x8080ff)
MsgBox($MB_SYSTEMMODAL, "AutoIt", $iGreenColor)