Discord is the world’s leading voice and text chat server system, used for anything and everything under the sun. People run their online game guilds through Discord; they communicate while playing tabletop games online with Discord, they even have business conferences using Discord. Whether you’re a gamer or not, Discord is an incredibly valuable tool for communication between small and large groups of people.
One thing that Discord doesn’t support particularly well, however, is a vibrant and colorful text chat experience. There’s text chat, but there are no built-in color commands and, at first glance, no way to do anything “fancy” with your text. Plain text can get very annoying very quickly – but in fact there are ways to change your text color. In this article, I’m going to show you how to get bold colors in your Discord text chats.
How it Works
The basic concept to understand is that in order to change the color of a given piece of text, you need to encapsulate that text in a code block. This is a three-line block of text with your text as the middle block. The first line of the code block should be three ” ` ” characters, followed by the code phrase that tells the Solarized Dark theme what color to display. Then the second line needs to be your text, and the third line of the code block should be three more ” ` ” characters. So a sample code block would look like:
This text will appear to be green if you put it in Discord.
There are two basic ways to enter text this way. The first way is to have a text file on your computer with the various codes for the different text colors that you can access in this fashion, and cut and paste the segments you want to use. Another way is to directly enter the code block into the Discord chat engine line by line. Type one line, then hit “shift-Enter” to create another line without actually sending the message to Discord. Type the second line, and hit shift-Enter again. Then type the third line and hit Enter, and the entire block will be sent at once and will display your text.
There are some limitations to this method. One, you have to do it for every line of text you want to colorize – you can’t just turn color on or off. Two, your text will appear in a box in the Discord server. And three, special characters like ‘ and punctuation marks often won’t, be colorized. For example:
I’m very special!
will display as
Note that the “I’m very special!” text isn’t all green, and that it’s inside a box.
The highlight.js codes give access to seven new colors in addition to the default grey. Here are the codes, and samples of their appearance. Note that the first code needs to have its mouth washed out with soap.
Plain grey (but in a box)
Green (sort of)
(Another flaky one.)
(Not only would this one not color the whole line, though I was able to do it previously, it did the wrong color. Sigh. Well, this is flaky stuff.)
There are some other ways to get your text to display in colors using the same basic technique but in a more advanced way. The reason all of this works (sort of) is that these formats are intended for displaying code blocks when a developer is writing a program. The first text after the “` tells highlight.js which scripting language it should be formatting, and there are actually some explicit ways to cast colors directly in a line. Here are some of the languages you can use, and the ways to force color. Experiment with them and you’ll soon find yourself writing colorful text messages all the time.
Other Things to Try:
We noticed that the above inputs don’t work for all users.
If the CSS doesn’t work, try:
This seems to correct most of the problems in the CSS, but if that doesn’t work.
For even more advanced users, Discord also allows you to add embeds and webhooks as messages. These can be used to display colored blocks and also support markdown text. You can see just how this feature works by heading over to Discord Webhook.
We’ve got plenty more Discord resources for you!
Need to ban a user? Here’s how to do an IP ban in Discord.
Want to quote someone? We’ve got a guide to quoting someone on Discord.
Want to cross out or strikeout text? We’ve got a tutorial on crossing out and striking out text in Discord.
Bots add a lot to the Discord experience – here’s our walkthrough for adding bots to your Discord server.
Want to share your screen with other users? See our guide to sharing your screen in Discord.
Or, maybe you want to learn more about coding and web design? Start with this book.