Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ChatColor
The ChatColor enum is used to change the color of a chat using Chat.
Items
| Name | Value | Description |
|---|---|---|
| Blue | 0 | The blue chat color; the default value passed to Chat() and ChatLocal(). |
| Green | 1 | The green chat color, passed as the color argument to Chat() or ChatLocal(). |
| Red | 2 | The red chat color, passed as the color argument to Chat() or ChatLocal(). |
| White | 3 | The white chat color, passed as the color argument to Chat() or ChatLocal(). |
Blue
The blue chat color; the default value passed to Chat() and ChatLocal().
| Field | Value |
|---|---|
| value | 0 |
Green
The green chat color, passed as the color argument to Chat() or ChatLocal().
| Field | Value |
|---|---|
| value | 1 |
Red
The red chat color, passed as the color argument to Chat() or ChatLocal().
| Field | Value |
|---|---|
| value | 2 |
White
The white chat color, passed as the color argument to Chat() or ChatLocal().
| Field | Value |
|---|---|
| value | 3 |