# P_textcolor
## Syntax:
@textcolor(text)**
## Use Case:
Returns the ANSI color index of the first character of the specified text found in the last line received from the server.
## Arguments:
- **{text}**: The text to search for.
## Examples:
1. **/echo @textcolor(target)**
## See Also:
@charcolor, @wordcolor