# CFX::SET_PED_HAIR_TINT

- **Hash:** `0xA23FE32C`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetPedHairTint`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **Other names:** `_SET_PED_HAIR_COLOR`
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_PED_HAIR_TINT

## Signature

```c
void SET_PED_HAIR_TINT(Ped ped, int colorID, int highlightColorID);
```

## Parameters

- `ped` (`Ped`) — The Ped whose hair tint is to be set.
- `colorID` (`int`) — The tint index for the primary hair color.
- `highlightColorID` (`int`) — The tint index for the hair highlight color.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Sets the tint index for the hair on the specified ped.

```
NativeDB Introduced: v323
```

**This is the server-side RPC native equivalent of the client native [SET_PED_HAIR_TINT](?\_0x4CFFC65454C93A49).**

## Usage

### Lua

```lua
SetPedHairTint(ped, colorID, highlightColorID)

-- always available, by hash
Citizen.InvokeNative(0xa23fe32c, ped, colorID, highlightColorID)
```

### JavaScript

```js
SetPedHairTint(ped, colorID, highlightColorID);

// by hash
Citizen.invokeNative('0xa23fe32c', ped, colorID, highlightColorID);
```

### C#

```csharp
Function.Call((Hash)0xa23fe32c, ped, colorID, highlightColorID);
```

*Sources: Cfx.re native reference.*
