# $hexGreen — Returns the green component (0 to 255) of a six-digit hexadecimal color.

## Syntax

```
$hexGreen[hex]
```

## Parameters

- **hex** *(String, required)* — Six-digit hexadecimal color

## Return Value

- String.

## Usage

```
$hexGreen[hex] → result
```

## Example

```bdfd
$sendMessage[$hexGreen[hex]]
```
