On Discord, writing in color involves the code blocks and the markdown. Each color corresponds to a specific language, and the result is displayed in the desktop or web app.
First, check out the Discord and Alucare.fr:
The Basics of Markdown on Discord
the markdown is a system of text formatting Simple. You just add some special characters on either side of your text to change its formatting, without using a visual editor.
Here are the available styles and their uses.
Make text bold
Use ** on either side of the text.
Example : **Bold**, Not fat

Make text italic
Use * Where _ on either side of the text.
Example : *Italic*, _Italic_, Normal

Highlight text
Use __ (two underscores) on either side of the text.
Example : __Underlined__, Not underlined

Strike through text
Use ~~ (two tilde characters) on either side of the text.
Example : ~~Strikethrough~~, Not strikethrough

Combining bold, italics, underline, and strikethrough
You can mixing styles : bold italics, italic and underlined, bold and underlined, or even stack them all together. To get bold, italic, underlined, strikethrough, and spoiler On a single line, the code is:
||___***~~ton texte~~***___||
That's the combination italic, bold, underlined the most comprehensive available on Discord.
Write a title in large font
Add # in start of line, followed by a space, then type your message. Discord displays the text as a title in large print. Use ## for a subtitle slightly smaller.

Insert a clickable link
To insert a hyperlink To create a clickable link in a message, use this syntax:
[link text](https://url.com)
The text appears in blue and links to the specified address via hooks followed by the URL in parentheses. This is one of the functions of formatting the most useful ones from the markdown on Discord.
How to Cite a Source
To display a quote block, start your line with > followed by a space.
Example : > Here's a quote
The text appears with a vertical line on the left side, like a quote block Standard. This feature is useful for mentioning another user in a conversation.
Hide text or an image (spoiler)
You can hide text or an image behind a spoiler. Here's how to do it.
Hide text
To hide a message, put || on either side text.
Example : ||I am hidden!|| Not me...

The text appears hidden in the discussion, as a spoiler.

All you have to do is to click on the hidden section to view the content.

Hide an image
While importing the image, click the option define as Spoiler.

The image is hidden in the message and appears when you click on it.

Code blocks on Discord
The code blocks are used to display text in a monospace box. There are two types.
- Inline block : enclose the text in a single grave accent (
`text`). Useful for a single word or a short command. - Multi-line block : enclose the text in three grave accents (
```text```). Useful for multiple lines of content.
It is this second format, the code blocks multiline, which allows colors to be displayed on Discord specifying a language after the three accents.
Write in color on Discord
Discord uses the library Highlight.js for coloring. It does not have a built-in color picker. To color your text, you must use a code block and specify a supported language. Here are all the available colors and their uses.
1. Text in red
To display a text in red, uses the language diff in a code block. Each line that begins with a dash (-) in start of line appears in red.
```diff
- of text
- a dash at the beginning of the line
```

2. Text in green
When it comes to green, we're back to language diff. The difference from the red version: each line must begin with a more (+) instead of a dash, in start of line.
```diff
+ some text
+ and a plus on each line
```

the + "At the beginning of the line" is still the most reliable way to get green in your messages Discord, regardless of the active theme.
3. Text in orange
To display text in orange, uses the language arm in a code block. Replace the spaces in your message with a low dash (_). Here is the syntax:
```arm
du_texte
encore_du_texte
```

Only some characters Text recognized by the formatting tool turns orange. The result may vary depending on the theme and browser used.
4. Text in yellow
To display text in yellow, uses the language ansi in a code block. The content of each line is displayed directly in yellow, without any additional syntax.
```ansi```
[33mText in yellow[0m
[33mMore content here[0m
```
Note: Discord presents it more as a golden yellow / dark orange, not like a typical bright yellow.
5. Text in turquoise
To display text in turquoise, uses the language py (Python) in a code block. Place your content between quotation marks. This is necessary for the color to take.
```py
"infinite text...
and here again".
```

Only the strings Text in quotation marks appears in turquoise. The appearance varies depending on the active theme.
6. Text in blue
For text in blue, uses the language fix in a code block.
```fix
of text
here too
```

7. Text in gray
To display text in gray, uses the language python. Each line that begins with a sharp (#) appears in gray, like a comment.
```python
# text
# more text
```

You can mix colored text and gray text in the same message. The gray color applies only to lines annotated with #.
Try these codes directly on the Discord and Alucare.fr:
Don't have an account yet? Find out how to create a Discord account in our dedicated article.
FAQs
How does markdown work on Discord?
the markdown is a system of text formatting Simple. You just add some special characters before and after your text to change its formatting, without using a visual editor.
The code blocks are among these tools for formatting available in your messages Discord. This is the most convenient way to structure and style your content on the site.
Do colors work on mobile devices?
Colors via code blocks are displayed in the desktop app and on the website. On mobile, the display may vary depending on the version of the app. The formatting markdown Basic formatting (bold, italics, underline, strikethrough) works on all platforms.
What to do when the colors don't change?
In most cases, the problem stems from a syntax error. Check to make sure there aren't any spaces in the wrong place or any characters other than the expected ones.
If the colors aren't showing up, go over the syntax line by line. With a little practice, you'll be able to fix it in no time.
What does the yellow box around a message mean?
A yellow box "around a message" means that someone has tagged or replied to one of your messages. It's just a visual notification—nothing out of the ordinary.
How do I create a subtitle on Discord?
the subtext is obtained by adding -# at the beginning of the line, followed by a space. Discord then displays the text in a smaller font, in the form of a subtext.
This feature is one of the options in subheadings available in the messages Discord recent.
Do you want to try out all these tips from text formatting Live? Join our server—it's the best place to practice.
To learn more, check out all our articles on Discord on the website. And if you get stuck on a piece of code, leave a comment, we're here to help.







Thank you for this article, frankly I learned a lot especially the color code discord.
it's cool
OK
Hi Hi recently Discord did an update it changed quite a bit in terms of color blocks
in fix we are more on yellow-orange but on pale blue
And in any case thank you for your site it helped me a lot and I come back to it when I have doubts
Thank you mtn js how to hide the text 🙂
No worries, the purpose of the page is to help you with discord so it's great!
There is no way to see colors on phone by any chance?
I don't think so 🙁
Hi,
Is there a way to write in color on a smartphone?
I think you should be able to do the command lines directly via your smartphone (I haven't tried it) but when I do them on PC, it works and when I put myself on a smartphone there is no color ;(
On the phone I think it can come from how discord coded it and suddenly I'm not sure 😉 (maybe not the same thing) I'm never on such ^^
How to write on multi color like the photo?
https://imgur.com/IUhYmLe
Hi, for the 2nd paragraph he did this
“`diff
+Note:
- the text
"`
😉
End I can't put it in comment but you do the diff as in the article, the + gives green and the - gives red
Hi there
I may be asking a stupid question but can we do it on the phone? Or is it just PC?
Because personally I can't do it on the phone, I'm sure I'm doing it wrong
Thank you for your reply ^^
I was talking about the colors I forgot to specify
On the phone it must be exactly the same, if you want to test send me a discord PM I will test by going to mobile. But I don't live pq on PC we couldn't do it 🙂 (watch out for space and everything)
that's really cool thanks!
No worries 🙂
Hello, your article helped me a lot, thank you very much. Tell me, would you know how to go to the line on Discord? Thanks in advance
Hi, you do SHIFT + enter 🙂
(SHIFT + enter if you don't know Shift ^^)
Is there any way to hide the parameters that define the colors? like to write in red for example you have to show the – in front of diff for the syntax but I don't want you to see the dash, just the message in red
no unfortunately you can't, for the markdown you have to leave some info (it's as if you were making code)
Hi,
It is possible to do it but with only 3 colors to my knowledge. Green (weird), Cyan (turquoise) and orange.
😉
Hey!
Thank you it's really great, I have a question, is it possible to combine bold + color? To make a title for example highlighted
I don't think so unfortunately, you can always try but since you will be between "it won't take the fat 🙂 )
Hi,
Yes it is possible, just place your order of bold (** **) upstream and downstream of your order in color.
For instance :
**
“`HTTP
YOUR TEXT HERE
"`
**
So
Thank you 😉
hello blue
turquoise does not work is this normal?
If you have to do:
“`bash
"
"`
Tell me if it helped you 🙂
Hello good night
Is it normal that I have to put an arrow like this "<" to be able to write in blue because if I don't put the arrow it will write in yellow
Thank you for your reply
Yes 🙂 the discord markdown is a bit capricious you really have to do what is said 🙂
I don't understand how to do tfou zbi
I invite you to read 🙂 everything is well explained 🙂
You should already know how to write and read correctly before you start doing something like that...
I won't say anything apart from approving the message 🙂 discord markdown must understand ^^
Thanks !