Minecraft Color Codes: How to Change Text Color for Signs
Minecraft color codes let you change the color and style of text on signs, in chat, and in commands — in both Java Edition and Bedrock Edition. This guide covers every code you need, how to enter the section symbol (§) on any device, and exactly where each code works.
Version note: This guide covers Minecraft Java Edition (1.20+) and Bedrock Edition. Hex color codes require Java Edition 1.16 or later.
Java vs. Bedrock — quick difference: In Java Edition, color codes work natively in chat, on signs, and in commands. In Bedrock Edition, color codes work on signs, but colored chat is more restricted and depends on the server or platform. Hex color codes (custom RGB colors) are a Java-only feature.
The Section symbol
To apply a color or style, you type the section symbol (§) immediately followed by the color or format code — no space between them. The symbol tells Minecraft to treat the next character as a formatting instruction rather than regular text.
The quickest method for most users is to copy and paste the symbol directly: §
If you prefer to type it natively on your device, here are the methods by platform:
| Platform | Method |
|---|---|
| Windows | Hold Alt and type 0167 on the numeric keypad (requires a dedicated number pad — if you don’t have one, use copy-paste or open Character Map: press Win+R, type charmap, and search for §) |
| macOS | Press Option + 6 |
| Linux | Press Ctrl + Shift + U, then type 00A7 and press Enter |
| iOS | Copy-paste is the most reliable method. Alternatively, try holding the & key on your iPhone keyboard — § may appear as a pop-up option, though this varies by keyboard and iOS version |
| Android | Switch to the number keyboard, then the symbols keyboard. Try holding the paragraph symbol (¶) — § should appear. On some keyboards, holding S may also reveal it. If not, copy-paste is your best option |
| Game console | Open the character keyboard and hold the & button until more options appear, then select §. It may also appear in the symbols section depending on your console |
In our testing, copy-paste is the most consistent method across all platforms — especially on mobile, where keyboard layouts vary widely.
Minecraft color codes
The game supports 16 built-in colors. Enter the § symbol followed by the code immediately before your text to apply a color. For the full technical reference, see the Official Minecraft Wiki — Formatting Codes.
| Color | Code | Hex Value |
|---|---|---|
| Dark Red | §4 | #AA0000 |
| Red | §c | #FF5555 |
| Gold | §6 | #FFAA00 |
| Yellow | §e | #FFFF55 |
| Dark Green | §2 | #00AA00 |
| Green | §a | #55FF55 |
| Aqua | §b | #55FFFF |
| Dark Aqua | §3 | #00AAAA |
| Dark Blue | §1 | #0000AA |
| Blue | §9 | #5555FF |
| Light Purple | §d | #FF55FF |
| Dark Purple | §5 | #AA00AA |
| White | §f | #FFFFFF |
| Gray | §7 | #AAAAAA |
| Dark Gray | §8 | #555555 |
| Black | §0 | #000000 |
Hex Color Codes in Minecraft (Java Edition 1.16+)
If you’re running Java Edition 1.16 or later, you can use any custom RGB hex color — not just the 16 built-in ones. This works through JSON text components in commands like /tellraw and /title. It does not work on regular signs or in standard chat.
The syntax uses a JSON format with a "color" key:
/tellraw @a {"text":"Hello world!","color":"#FF6600"}
Replace #FF6600 with any valid hex color code. This is useful for server operators and map makers who want precise color control beyond the standard 16 options.
Using Minecraft Color Codes
Changing Text Color on Signs
- Place a sign and enter text editing mode.
- Type the § symbol followed immediately by your color code (no space).
- Type your text right after — again, no space between the code and the text.
If your text wraps to a new line, re-enter the color code at the start of that line.
Example:
§fThis is a test §fsign
You can also combine color codes with style codes (bold, italic, etc.) — more on that in the style codes section below.
Changing Chat Text Color
The same rules apply in chat. Open the chat window, type the § symbol followed by your color code, then type your message immediately after — no space.
§5Hello!
This displays “Hello!” in dark purple. You can also stack a color and style code together:
§a§lGreen Bold Text
Note: Some servers disable colored chat for moderation reasons, so it may not always work online. If your color code isn’t showing up, check the troubleshooting FAQ at the bottom of this page.
Using Color Codes in Commands
In Java Edition, you can use § codes inside commands like /title, /tellraw, and /scoreboard. This is especially useful for server operators and command block builds.
For /title, use JSON text with the color name or hex value:
/title @a title {"text":"Welcome!","color":"gold"}
For /tellraw, the same JSON format applies:
/tellraw @a {"text":"Server message","color":"red"}
The color names in JSON commands correspond directly to the 16 built-in colors (e.g., "dark_red", "aqua", "light_purple"). Use underscores instead of spaces for multi-word color names.
Using Color Codes for Teams
In Java Edition, you can assign a color to a team using the /team command. This changes the color of team members’ names in chat and above their heads.
/team modify [teamName] color [colorName]
For example, to set a team called “red_team” to red:
/team modify red_team color red
Valid color names are the same as the 16 built-in Minecraft colors (e.g., dark_red, gold, aqua).
Using Color Codes on Minecraft Servers (& Symbol)
If you run or play on a Bukkit, Spigot, or Paper server with plugins like EssentialsX installed, you typically use the & symbol instead of § to enter color codes. The plugin converts & codes into the proper § formatting automatically.
For example, in a server config file or plugin message:
&aThis text will be green
&c&lThis text will be bold red
The & syntax is the standard for most server plugins and is much easier to type than §. Check your server’s plugin documentation to confirm which symbol it uses — most modern plugins support & by default.
Armor Color Customization (Bedrock Edition)
In Bedrock Edition, leather armor can be dyed custom colors using the crafting table with dyes. While this isn’t directly tied to the § color code system, the hex values in the color codes table above can help you match in-game dye colors to specific shades. This feature is Bedrock-specific and works differently from Java Edition’s item NBT data approach.
Minecraft Style codes
Minecraft Style Codes
Style codes work the same way as color codes — type § followed by the code letter. You can combine them with color codes to create styled, colored text.
| Description | Code |
|---|---|
| Obfuscated (scrambled/random characters) | §k |
| Bold | §l |
| Strikethrough | §m |
| Underline | §n |
| Italic | §o |
| Reset (clears all formatting and color) | §r |
Always apply the color code before the style code. Putting the style first can cause the color to override it on some versions.
Combination examples:
§f§lBold white text
§c§nRed underlined text
§a§oGreen italic text
§6§lGold bold text
Use §r to stop formatting mid-line. For example:
§aGreen text §rBack to default
If your text continues onto a new line, re-enter the color and style codes at the start of that line — formatting doesn’t carry over automatically.
Frequently Asked Questions
What is the section symbol (§) in Minecraft and why do I need it?
The § symbol is the required prefix for every Minecraft color and format code. Without it, the code character (like c or l) just appears as plain text. When Minecraft sees §, it knows the next character is a formatting instruction — not content to display. Think of it as a trigger that activates the code that follows it.
Do Minecraft color codes work the same way in Java Edition and Bedrock Edition?
Not exactly. In Java Edition, color codes work natively in chat, on signs, and in commands. In Bedrock Edition, § codes work on signs, but colored chat is more restricted and often depends on the server or platform you’re playing on. Custom hex colors (via JSON text components) are a Java-only feature, available from version 1.16 onward.
Can I use color codes on Minecraft servers?
Yes, but the syntax is usually different. Most Bukkit, Spigot, and Paper servers running plugins like EssentialsX use the & symbol instead of § — so &aGreen text becomes green in-game. Some servers restrict colored chat to admins or moderators only. If your colors aren’t showing up, check whether the server uses & syntax and whether you have permission to use formatting codes.
How do I combine color codes and style codes in Minecraft?
Always put the color code first, then the style code — for example, §a§l gives you bold green text. If you reverse the order (style before color), the color code can override the style on some versions, stripping the formatting. Here are a few working examples: §c§nRed Underlined, §a§oGreen Italic, §6§lGold Bold. You can stack multiple style codes after a single color code as well.
Why isn’t my color code working in Minecraft chat?
There are three common reasons. First, the server may have disabled colored chat for regular players — this is a moderation setting and there’s nothing you can do about it on that server. Second, you may have accidentally put a space between § and the color code — there should be no space at all. Third, the § symbol may not have been entered correctly, which is a common issue on mobile. The most reliable fix is to copy-paste the § symbol directly rather than trying to type it.
What does the §r reset code do in Minecraft?
§r clears all active formatting — both color and style — and returns the text to its default appearance (white, unstyled). It’s useful when you want to apply formatting to only part of a line. For example: §cRed text §rNormal text — the first part appears red, and after §r, the text returns to default white with no styling applied.
I love Minecraft so much
im on chromebook and it wont let me paste the § symbol into chat, any other ways
How do you reset it? Like if you want part of a line bold?
it still doesn’t work, the section symbol just wont show up.
Does this also work in online servers?
it kinda worked the colours showed up after i was done typing but not when the sign was a block plz let me know any potential fixes just so you now i am on the bedrock edition of minecraft
it wont let me put that symbol in minecraft
Works and is a great way to spice up any build. Keep it up! 😀
This was very informative plea keep on writing these 😀
NICE STUFF!
The code for the colour change for minecraft in windows 10 does not work on a laptop. There is no seperate numerul keypad on my laptop and the code doesn’t work with the normal keys.
did you know there is allso another styl §k and its look like words but in another language and its scrambling
I wanna do this on the Nintendo switch edition(the one without cross platform play) and when I try and look for the symbol page it isn’t there, but them I change other stuff it is there. Why? Is there a way to do this, as many claim?
Signed
A 9 year old with an email account
This doesnt work anymore on pc the § symbol can’t be typed anymore on pc. anyone got a fix?
i really found this website useful
thx
my minecraft name is TBNRfrags3610