How Minecraft Locator Bar Colors Are Calculated (Java and Bedrock)
Where locator bar colors come from: the UUID hash on Java Edition, the join-order assignment on Bedrock, the Xbox ID mapping through Geyser, and the /waypoint syntax.
Written by Faruq Zhao Updated 2026-10-31
On Java Edition, your locator bar color is not random and not something you pick in settings: it is decided by your account's UUID. The game hashes that UUID into a 32-bit value and uses the lowest 24 bits as the red, green and blue channels. The UUID belongs to the account, not to any world — so across saves and servers, the color is always the same.
Bedrock does not follow this rule, and that's where the confusion starts: its colors are assigned by join order, computed from nothing about the player — so the same person can be a different color tomorrow.
Companion tool: the locator bar color calculator on this site reproduces the Java default-color algorithm exactly — feed it a username, UUID, gamertag or raw hash, and it also writes the /waypoint modify command for you.
What the locator bar is, and where the colors come from
The locator bar is a screen-edge indicator strip with arrows pointing at waypoints and other players, added in Java 1.21.6 and Bedrock 1.21.90. Every player and waypoint gets a colored icon, and player icon colors are generated, never set by hand.
The situations you'll run into are basically these four, covered one by one below:
Where a player's default color comes from
| Situation | Decided by | Consistent across worlds | Manually changeable |
|---|---|---|---|
| Java, premium account | A hash of the account UUID | Yes | Yes, admin via /waypoint modify |
| Java, offline-mode server | A UUID generated from the username | Yes, for the same name | Yes, admin via /waypoint modify |
| Bedrock, local world or server | Assigned by join order | No — can differ every session | No vanilla command |
| Bedrock player via Geyser/Floodgate on a Java server | A virtual UUID built from the Xbox user ID | Yes | Yes, on the Java side via /waypoint modify |
From UUID to color: the four steps
This site's tool reproduces the Java default-color computation — equivalent to the hashCode() of Java's standard-library UUID class, plus a fixed way of extracting a color:
- Split the 36-character UUID on its dashes into five parts; join the first three into one 64-bit integer and the last two into another.
- XOR those two integers together.
- XOR the result's low 32 bits with its high 32 bits, collapsing to a 32-bit signed integer. This comes out negative about half the time — that's normal, not an error.
- Take the low 24 bits: bits 16–23 are red, 8–15 green, 0–7 blue; written as six hex digits, that's the color.
Bits 24–31 are discarded entirely. Two hashes that share their low 24 bits produce the same color.
One example you can verify yourself: Notch's Java UUID is 069a79f4-44e9-4726-a5be-fca90e38aaf5; the hash is −369792882, or 0xE9F56888 in hex. The low 24 bits are F5688E, so the color is #F5688E — a pink. The tool page shows hex, RGB and HSL side by side.
This algorithm is what this site's tool implements and what the community conventionally uses to reproduce default colors. Mojang has not published its internal locator-coloring logic, so treat it as a well-tested reproduction, not an official spec. If the in-game color still disagrees, work through the checklist at the end.
Why the color survives every save and server change
A premium Java account's UUID is assigned once by Mojang/Microsoft and bound to the account for life. It doesn't belong to any world, save or server, and changing your username doesn't change it. Anything derived from the UUID is stable — the locator color included.
- Single-player saves, Realms and every multiplayer server: the same color.
- Name changes, new skins, a different launcher: no effect.
- Game updates: no effect either — unless the color-extraction rule itself changes.
- A pleasant side effect: friends learn who's who on the map without asking, like an account signature.
The one exception is an offline-mode server. It can't query Mojang for your real UUID, so it derives one from your username (the UUID v3 scheme). That value is stable per username — but changing your name changes your color, and two players sharing a name get identical colors.
On an offline-mode server, copy the server-generated UUID into the tool's "Direct UUID / hash" tab. The tool hashes whatever UUID you give it, and the result is exactly what that server will show.
Bedrock: join order, Xbox IDs and Geyser
Vanilla Bedrock ignores UUIDs entirely. Colors are assigned by the order players join the world or server, reset when the session ends, and reassigned on the next join. There is no vanilla command to set them either.
When a Bedrock player joins a Java server
With GeyserMC and Floodgate in between, the proxy fabricates a virtual Java UUID for the Bedrock player: the high 64 bits are zero, the low 64 bits hold the account's Xbox user ID (XUID). The Java server then treats them as an ordinary Java player and derives a stable color from that virtual UUID.
The tool's "Bedrock (Geyser)" tab walks the same path: resolve the gamertag to an XUID through the public PlayerDB service, pad the ID's hexadecimal to 16 digits, assemble it into the 00000000-0000-0000-XXXX-XXXXXXXXXXXX shape, and hash it.
A made-up example: an XUID of 2535413172052385 is 000901F1E17AA1A1 in hex, giving the virtual UUID 00000000-0000-0000-0009-01F1E17AA1A1. Its hash is −512516016 and the color comes out #73A050 — a muted green. Real XUIDs really are long decimal numbers like that.
Two real-world caveats. Resolving gamertags needs the network and depends on a third-party API, so a player who genuinely exists occasionally won't resolve. And Geyser's configuration affects how virtual UUIDs are built — if the proxy's settings have been changed, the computed color may not match what the server shows.
Changing colors with /waypoint
On Java 1.21.6 and later, admins can override the generated color with the /waypoint modify family, which requires operator level 2 or above. Under a permissions plugin like LuckPerms the node is minecraft.command.waypoint. Players without it cannot change anyone's color, including their own.
Common /waypoint modify forms
| Command | What it does |
|---|---|
/waypoint modify <player> color red |
Uses one of the 16 preset color names |
/waypoint modify <player> color hex FF5555 |
Uses an exact 6-digit hex color, without the # sign |
/waypoint modify <player> color reset |
Clears the override, back to the UUID-derived default |
/waypoint modify <player> visibility allies |
Controls who sees the waypoint: everyone, allies, or hidden |
The preset names are the standard sixteen: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black. The hex form takes any six hex digits — FF8800 for a bright orange, 228B8B for a dark teal.
The tool writes the command for you: pick a color in the picker and it generates /waypoint modify <player> color hex RRGGBB, quoting names that contain spaces. Paste it into chat as an operator and it takes effect immediately; the picker's reset button restores the UUID default.
If you computed the color from a UUID rather than a username, the generated command carries a placeholder name — "Java Player" on the Java tab, "Resolved Player" on the direct-UUID tab. Swap in the real in-game username before running, or the server won't find the target.
When the computed color doesn't match the game
The computation is deterministic, so a mismatch means one of two things: wrong input, or a server-side override. Work down this list:
- Check the edition first. A Bedrock player in a local world has a join-order color that no calculation can predict.
- Check for an override. Run
/waypoint modify <player> color resetand see whether it snaps back to the computed value. - Confirm which UUID you used. Premium accounts, offline-mode servers and Geyser correspond to three different UUIDs — and three possible colors.
- Check the input format. Usernames are at most 16 characters; UUIDs must be 32 or 36 hex characters; the third tab also takes a decimal hash like −1547567136.
- For Geyser players, check the proxy. Its UUID-generation settings are the last variable.
What each input tab accepts
| Tab | Accepts | Notes |
|---|---|---|
| Java Edition | A username, or a 32/36-character hex UUID | Usernames resolve via the public PlayerDB service; needs the network |
| Bedrock (Geyser) | An Xbox gamertag | Resolved to an XUID, then assembled into a Geyser-style UUID |
| Direct UUID / hash | A full UUID, or a decimal hash value | Offline-mode UUIDs and raw hashes go here |
The 24-bit color space holds 16,777,216 colors, so two players landing on the same one is entirely normal. If you and a friend match, that's a hash collision — not a bug in the tool.
FAQ
Does changing my username change my locator color?
Not on Java. The color comes from the account UUID, and a rename doesn't touch it. Only offline-mode servers derive the UUID from the username — there, a rename does change your color.
Why is my color different on one particular server?
Most likely an admin there ran /waypoint modify, or the server runs in offline mode and handed you a different UUID. Ask an admin to run the reset form and compare against the computed value.
Can a Bedrock player change their own color?
Not in vanilla Bedrock — the assignment is temporary and join-order-based. A Bedrock player connecting through Geyser to a Java server can have it set or reset by the Java side's admin.
Why does the tool say it can't find my player?
Username and gamertag lookups go through public APIs — they need the network and an exact spelling. If the player exists only on an offline-mode server, use the "Direct UUID / hash" tab and paste the server-generated UUID.
Is the color random or computed?
Computed, and deterministic: one UUID always yields one hash and one color, which is why your icon matches across servers. Only the 24-bit space is limited, so collisions are normal.
Further reading
- Locator bar color calculator — the algorithm from this page, plus ready-made /waypoint modify commands.
- UUID generator — when you need a UUID to test with.
- Local vs server processing — the color math is local and the name lookup is not; here's how to verify that boundary yourself.
Tools used in this guide
Minecraft Locator Bar Color Checker – UUID Colors and Recolor Commands
Look up Minecraft locator bar colors online: enter a Java username, Bedrock gamertag or UUID and get the game's UUID-hash color as HEX/RGB/HSL, plus /waypoint recolor commands.
UUID Generator – Batch-Generate v4, v7 and ULID Online
Generate UUIDs in bulk free online: v4 random, v7 time-ordered, v1 timestamp and ULID, up to 1000 at a time. Browser-side system randomness, copyable and downloadable.
More guides
HEIC and JPEG: What iPhone HEIC Files Are and When to Convert Them
How the HEIF container relates to HEVC, why Apple chose it, how it compares with JPEG on size and compatibility, when conversion is mandatory, and how to convert in bulk offline.
Passport and Visa Photo Requirements: Pixels, DPI and File Size Limits
Why ID photos fail at the last step: print sizes to pixels, where 50 KB and 100 KB limits come from, why some are ranges not caps, and how to hit one without losing the face.
IBAN Structure and Check Digits: How to Read and Verify an IBAN
What each part of an IBAN means, the five steps of MOD-97 with a worked example you can repeat by hand, and exactly what a passing checksum proves — and what it does not.