Send colored text to client in chatbox if run a command

How would I make a coloured text be sent to a clients chatbox when they right a certain thing in @?
I have got it to so far actually send it to the client, with a little help from FacePunch, but it is not colored.

This is the code so far.


hook.Add( "PlayerSay", "Report", function( ply, text, team )
	if ( string.sub( text, 1, 1 ) == "@" ) then
		ply:PrintMessage( HUD_PRINTTALK, "[Reports] You're call has been noted and you have been added to the queue. Please be patient!")
		return ""
	end
end )

chat.AddText, send strings with net messages or whatever

Just use

GM:OnPlayerChat

[editline]7th September 2016[/editline]



hook.Add( "OnPlayerChat", "Report", function( ply, text, team, bdead )
	if ( string.sub( text, 1, 1 ) == "@" ) and ( ply == LocalPlayer() ) then
		chat.AddText( Color( 255, 0, 0 ), "[Reports] You're call has been noted and you have been added to the queue. Please be patient!" )
		return true
	end
end )


That’d draw red text