Why Friends Have Similar Locator Bar Colors

Understand UUID-derived colors, visually similar markers and in-game overrides in Minecraft Java.

How Java derives a Locator Bar color

In Java Edition a player's default marker color is a deterministic function of their UUID. The same UUID produces the same default color; a screenshot or a server-assigned palette is not required to explain the calculation.

Java folds the UUID into a signed 32-bit hash and reads the low three bytes as RGB. It then sets HSV brightness to 0.9, retaining hue and saturation. It does not multiply RGB channels by 0.9; dark raw colors can become brighter.

Notch's UUID 069a79f4-44e9-4726-a5be-fca90e38aaf5 hashes to 0xE9F5688E. Raw #F5688E becomes #E66185 after normalization. See the verified derivation. This is the UUID default, not a guarantee about team overrides, custom commands or future versions.

Username or UUID, and why a lookup comes back empty

A username identifies an account, while the UUID is the value used for the color calculation. Mojang's public profile API can resolve online-mode names to UUIDs. This guide explains the identifiers; it does not perform live profile lookups.

  • The account is not online-mode.

    An offline-mode server normally derives its UUID from the exact, case-sensitive name. A proxy or plugin can assign a different UUID, so use the server's actual value when reasoning about its colors. This is separate from Bedrock.

  • The username was recycled.

    Names can be released and claimed by somebody else; UUIDs never are. If the profile that comes back is not the player you meant, look them up by UUID instead.

  • The player is on Bedrock.

    Bedrock accounts have no Java UUID at all, and Bedrock does not derive marker colors from one — which is its own section below.

Bedrock has no UUID color to look up

Bedrock does not derive marker colors from a Java UUID. Its default color is assigned per session and may change after rejoining. A Java UUID, XUID or gamertag alone does not predict that default color.

If a stable, predictable color matters on your server, you need Java Edition. The Bedrock Locator Bar page covers what Bedrock offers instead: a game rule, a world-creation toggle, and, from 26.30, a scripting API that lets add-on authors set waypoint colors themselves.

What to do once you have the color

A hex value on its own is not worth much. Two follow-ups make it useful. If you meant a global search for same-color strangers rather than your own roster, read how locatorbar.crab color neighbors differ from this finder.

  • Check the whole party, not one player.

    Compare your team's markers in game. Small dots can be difficult to distinguish even when their RGB values differ. Read the party color guide, then test any overrides in the conditions where you play.

  • Override it if you do not like it.

    /waypoint modify <target> color <name> replaces the UUID default for everyone in the world. Read the waypoint command guide for syntax and how to change your Locator Bar color for waypoint, team and NBT approaches.

Two version facts before you type anything. The Locator Bar landed in Java Edition 1.21.6, and since Java 26.2 the color argument accepts only lowercase names with underscores, so dark_purple is valid and DarkPurple is rejected. Separately, the game rule that switches the bar off was renamed from locatorBar to locator_bar in snapshot 25w44a, shipped in 1.21.11; the Locator Bar gamerule page lists the right name for every version.

Locator Bar color questions people actually ask

Does my Locator Bar color ever change?

Not by itself. The UUID of an online-mode account never changes, so neither does the default color — renaming your account does not touch it. Three things can draw over it: a team color, an explicit /waypoint modify … color, and a resource pack that restyles the icon. Undo an override with color reset. On an offline-mode server the UUID is derived from the name, so renaming there does give you a new color.

Why do a teammate and I have almost the same color?

Different UUIDs can produce colors that look similar on small markers. The party color guide explains why and describes waypoint and team overrides.

Can I check a Bedrock player here?

Bedrock defaults are assigned per session rather than calculated from a Java identifier. Read the Bedrock guide for its version-specific controls.

Do I need to be an operator to change a color?

Changing a color with /waypoint requires permission level 2 and cheats, or a server console, command block or function. Reading these explanations requires no game permissions.

Which versions does this apply to?

Java Edition 1.21.6 and later, where the Locator Bar was introduced. The UUID-to-color derivation has not changed since; what changed later is command syntax and the game rule name.