How to change Message color

So i’m a little new to coding so excuse me for not knowing the obvious but can someone answer me a question i am making a small script for commands and i want to make the massage color change like the text that the Client types but i cant figure out how to do it can someone help me btw im using RGB color

–Twotter Message

RegisterCommand(“twotter”, function(source, args, raw)

if #args <= 0 then return end

local message = table.concat(args, " ")

TriggerClientEvent('chatMessage', -1, "^5twotter: ^0^1" .. GetPlayerName(source), { 30, 144, 255 }, message)

end)

To change the colours you need to change the colour codes e.g ^1 makes things red, ^5 is blue, you can find them all somewhere on the forums if you search for them.

Thanks man really do appreciate it