Hex to Minecraft Color Converter

Client-Side New

Find the nearest Minecraft color to any hex or RGB value. Enter a hex code from your design, UI, or skin palette and instantly see which of the 16 Minecraft color codes is the closest match, with a side-by-side color comparison and the exact § code ready to copy. Useful for Minecraft builders, server admins, and resource pack creators.

All 16 Minecraft Colors

§0
Black
§1
Dark Blue
§2
Dark Green
§3
Dark Aqua
§4
Dark Red
§5
Dark Purple
§6
Gold
§7
Gray
§8
Dark Gray
§9
Blue
§a
Green
§b
Aqua
§c
Red
§d
Light Purple
§e
Yellow
§f
White

How to Use

  1. 1

    Enter a Hex Color

    Type or paste any valid hex color code (with or without the # symbol, e.g., #FF5733 or FF5733).

  2. 2

    View the Closest Match

    Instantly see which of the 16 Minecraft color codes is the nearest match, with a side-by-side color swatch comparison.

  3. 3

    Copy the Color Code

    Click to copy the § color code (e.g., §c for red) ready to paste into Minecraft chat, signs, or server configs.

  4. 4

    Explore All 16 Colors

    Browse all Minecraft colors below the converter to find the closest alternative or compare options manually.

Examples by Niche

Brand Color

Twitch purple #9146FF → closest Minecraft match: §5 (dark purple)

Design Palette

Pastel blue #87CEEB → closest: §b (aqua) or §3 (dark aqua) depending on brightness

Skin Color

Minecraft creeper green #4CAF50 → closest: §2 (dark green) — the original color

Server Brand

Deep red logo #8B0000 → closest: §4 (dark red) for server MOTD branding

Frequently Asked Questions

How is the nearest Minecraft color determined?

The converter calculates the Euclidean distance in RGB color space between your input color and all 16 Minecraft colors, then returns the closest match. This gives perceptually accurate results for most colors.

Does Minecraft Java Edition support hex colors in text?

Standard Minecraft Java Edition does not support arbitrary hex colors in vanilla chat or signs — only the 16 preset color codes. However, mods like Paper and Spigot via plugins (e.g., MiniMessage format) support full hex colors in server chat.

What are all 16 Minecraft colors?

The 16 Minecraft colors are: black (§0), dark blue (§1), dark green (§2), dark aqua (§3), dark red (§4), dark purple (§5), gold (§6), gray (§7), dark gray (§8), blue (§9), green (§a), aqua (§b), red (§c), light purple (§d), yellow (§e), and white (§f).

Why does the closest Minecraft color look different from my input hex?

Minecraft only has 16 preset colors, so the closest match may still differ noticeably from your input — especially for mid-range hues like teal, orange, or pink that fall between Minecraft's limited palette. The converter shows the RGB distance so you can judge how close the match is and decide if an alternative color works better.

Related Tools

Related Articles