# highlight
## Syntax:
/highlight **{pattern}** **{foregroundColor}** **[backgroundColor]** **[groupName]**
## Use Case:
Creates a new highlight to colorize incoming text that matches the pattern.
## Arguments:
- **{pattern}**: The text or regex pattern to highlight.
- **{foregroundColor}**: The hex color or ANSI color name for the text.
- **[backgroundColor]**: *(Optional)* The hex color or ANSI color name for the background.
- **[groupName]**: *(Optional)* The group to assign this highlight to.
## Examples:
1. **/highlight {^\[GOSSIP\]} {#00FFFF} {} {Chat}**
2. **/highlight {You drop} {red}**
## See Also:
unhighlight, disablehighlight, enablehighlight, grouphighlights
