How to enter colored text in a chat window in Minecraft

Table of contents:

How to enter colored text in a chat window in Minecraft
How to enter colored text in a chat window in Minecraft

Have you ever wanted to get a beautiful map in Minecraft without the help of mods? In this article, we will show you how to do this.


Command Block
Command Block

Step 1. Place the command block

If you are creating a map and / or want to hide it, hide it somewhere. In this example, we will use an impulse command block.

Command Block Inside
Command Block Inside

Step 2. Open the command block

  • Enter the command

    / tellraw @a [{"text": "", "color": ""}]

  • Enter the command as shown here; otherwise it won't work. Instead of and enter the text and color you want.
Command Block with Color Chat Command
Command Block with Color Chat Command

Step 3. When you enter the command, the command block needs to be activated

To do this, place the stone button on the command block by right-clicking on it. Don't use the "Needs Redstone" button!

Success chat formatting!
Success chat formatting!

Step 4. Click the button

The entered command will be displayed in the chat in the color you specified.


  • To add additional text to the message, use "extra". This will preserve the formatting you were using and give you the option for additional formatting. For example, the command

    {"text": "You have selected a color", "color": "green", "extra": [{"text": "green", "bold": true}]}

    in the chat it will be displayed like this: "You have selected a color green".
  • You can also enter colored text in chats on Minecraft servers, if you have permission. Information on how to do this can be found on the Russian version of the Minecraft Wiki or on the Internet.
  • If the color name contains two words, an underscore is placed between them, for example, dark_red (dark red).
  • / tellraw

    added in version 1.7.2,

    / title

    added in version 1.8, and 1.7 lacks some of the features found in 1.8 and later. Therefore, we recommend using this code in the latest version of the game.
  • Color names:

    • black (black)
    • dark_blue (dark blue)
    • dark_green (dark green)
    • dark_cyan (dark blue)
    • dark_red (dark red)
    • dark_purple (dark purple)
    • gold (gold)
    • gray (gray)
    • dark_gray (dark gray)
    • blue (blue)
    • green (green)
    • aqua (aqua)
    • red (red)
    • light_purple (light purple)
    • yellow (yellow)
    • white (white)
    • reset (white in most cases)
  • You can also add formatting with

    "": true

    in curly braces. For example:

    [{"text": "Bold", "bold": true}]

    … This formatting can be matched with color. List of available formatting types:

    • Obfuscated - quickly swaps a character for another character of the same width.
    • Bold (bold).
    • Strikethrough (strikethrough).
    • Underlined
    • Italic (oblique).
  • You can also create colorful text like this:

    [{"text": "Red!", "color": "red"}, {"text": "Now blue!", "color": "blue"}]

    • To move to a new line, enter



  • If you are creating a map with a lot of command blocks, be sure to test the work of each team.
  • Remember the quotes! For example, the command

    [{text: "Hello"}]

    will not work; use instead

    [{"text": "Hello"}]

    … The first option worked in earlier versions, but does not work in newer versions (1.9+).

    • True / false codes are entered without quotes, for example,

      [{"text": "Bold text!", "bold": true}]

      … Sometimes numbers do not need to be enclosed in quotation marks either (for example,

      [{"text": 3.14}]


Popular by topic