Chat Formatting // Colors, Bold, Underline

chat
color
formatting

#1

Chat Formatting

By Jelly


Today I’m bringing you a small and short guide/informational post.

There are some posts that exist about typing in color in the chat. Although they aren’t the best, and there are some things left out. Recently I was digging through the code in the chat resource and I found some things that I didn’t know existed, and AFAIK aren’t well known.


Colors:

^1 // Red Orange

^2 // Light Green

^3 // Light Yellow

^4 // Dark Blue

^5 // Light Blue

^6 // Violet

^7 // White

^8 // Blood Red

^9 // Fuchsia


Other Formatting:

^* // Bold

^_ // Underline

^~ // Strikethrough

^= // Underline + Strikethrough

^*^= // Bold + Underline + Strikethrough

^r // Cancel Formatting


And that’s it!

Update: Colors fixed, thanks to @Vespura for catching my error. :smile:

Update +1: Adjustments to formatting to make it easier to see the actual codes. Also a new picture was added for the red orange.


[Chat] [How-to] Type in color
Colour script help (FiveM, chat)
Change the color of text
[Release] Area of Play / Patrol (Textdraw/Server Sync)
Marker / TriggerEvent
[How-To] Change Name of 'console' when using Say command in CMD!
[How-To] Change Name of 'Console' when using Say command!
Name Colored FIVEM
How to activate colored name in fivem (I am patreon)
How To Connect Patreon
#2

Nice formatting on the forums lol.


#3

A tutorial isn’t a spot to advertise your server… so, I removed that.


#4

He does have a point :stuck_out_tongue:


#5

You must be using either an outdated or custom chat resource…
Because the latest version of the official chat resource uses different color codes:


[Release] vAnnouncer v2.1 (09-Oct-2017)
#6

Hmm, I might have switched something up by accident. I’ll fix it.

A tutorial isn’t a spot to advertise your server… so, I removed that.

Whoops. Sorry about that.


#7

Hey man, Do you know the RGBA color codes for these?


#8

Sorry, I have no idea, you can use a color picker with a browser plugin though. :stuck_out_tongue:


#9

Or just open the chat resource files and check the hex color codes and convert them.


#10

Or yeah I was gunna say you can just look in the chat files, pretty much what I did here for this post.


#11

So if i wanted to make it colored and bold would i do ^*^2 or ^2^8


#12

^*^2 would be the one you would use


#13

My zaphost settings says its illegal character When i use *


#14

In that case create a support ticket with zap, they’ll be able to help you with zap specific configurations.


#16

how to do bold ? 20 char


#17

The way you do Bold is here.

^*Test > Test


#18

how about bold and red

^*Test


#19

Simply do ^*^1

20 Characters