Sm64 Color Code Generator May 2026

The Super Mario 64 modding community has transformed a 1996 classic into a modern playground for creativity. One of the most popular ways players personalize their experience is through custom color palettes. If you have ever seen a video of Mario sporting a neon green hat or a pitch-black suit, you have witnessed the power of color codes.

To achieve these looks, a Super Mario 64 Color Code Generator is the essential tool for every player and modder. What is an SM64 Color Code?

In the original Nintendo 64 game, Mario’s outfit is defined by specific memory values. These values dictate the shading and highlights of his hat, overalls, gloves, and shoes. A color code is a string of hexadecimal characters—often starting with 8107EC or 8107EE—that tells an emulator or a ROM hack to override the default red and blue with your chosen colors. How the Generator Works

A Color Code Generator provides a visual interface—usually a color picker or a slider—that allows you to select exact shades for different parts of Mario’s body. Once you pick your colors, the tool "compiles" them into a formatted GameShark or Action Replay code. Key Features of a Good Generator

Live Preview: See how the colors look on a 3D model before applying the code.

Part Separation: Individual controls for the hat, shirt, overalls, gloves, and skin.

Shading Logic: Automatically calculates darker "shadow" versions of your chosen colors to maintain depth.

Compatibility: Support for different versions, such as the original US ROM, the Shindou version, or the PC Port (SM64EX). How to Use Color Codes in Your Game Sm64 Color Code Generator

Once you have generated your code, applying it depends on how you are playing the game. For Emulators (Project64 / Mupen64Plus) Open your emulator and load Super Mario 64. Navigate to the Cheats menu. Click Add New Cheat. Paste the generated code into the text box. Check the box to enable it and restart the level. For the PC Port (SM64EX-Coop)

Many modern PC ports have built-in "Color Presets." However, if you are using a code generator, you might need to input the Hex values directly into the config.ini file or use a specific "External Codes" mod. Popular Color Combinations to Try

If you are looking for inspiration, here are a few classic community palettes:

Luigi Style: Bright green hat and shirt with dark navy overalls. Wario Style: Yellow hat and shirt with purple overalls.

The "Shadow" Look: All black everything with glowing red eyes (requires specific texture mods). Fire Mario: White hat and shirt with bright red overalls. Retro GameBoy: Various shades of pea-green and olive. Why Use a Generator Instead of Manual Coding?

Manual hex editing is tedious. A single wrong digit can cause Mario to turn invisible, crash the game, or result in a "rainbow glitch" where colors strobe uncontrollably. A generator handles the math for you, ensuring that the light and dark values remain balanced so Mario doesn't look like a flat, 2D object.

🎨 Creative Freedom: With millions of color combinations, no two Marios have to look the same. The Super Mario 64 modding community has transformed


How to Use the SM64 Color Code Generator (Step-by-Step)

Using the tool is straightforward, but knowing where to put the output is just as important.

Step 1: Find the Generator Search for "SM64 Color Code Generator" on Google. The most common version is hosted on MrRean’s tools or archived on Romhacking.net. It’s a single HTML file, so you can even save it offline.

Step 2: Pick Your Color You’ll see three sliders for Red, Green, and Blue (0-255). Some versions have a color wheel. Pick the exact shade you want for Mario’s overalls, shirt, or cap.

Step 3: Copy the Output The tool will instantly display two things:

Step 4: Apply it in a ROM Editor Open your SM64 ROM in a tool like Toad’s Tool 64 or Mario Builder 64.

Pro Tip: Mario has multiple color slots – one for his cap, one for his shirt, one for his overalls, and sometimes a separate one for his skin/gloves. You’ll need to generate a code for each part.


Why standard RGB fails

When you edit Mario’s textures in a program like Paint.NET, you see colors as Red (255), Green (0), Blue (0) for pure red. However, the Nintendo 64 hardware processes colors differently. It uses RGB555, where each color channel uses 5 bits (values 0–31) instead of 8 bits (0–255). How to Use the SM64 Color Code Generator

If you try to directly copy an RGB value from a web palette into an SM64 ROM editor, you will end up with banding, posterization, or the wrong color entirely. The generator bridges this gap.


How It Works

The process typically involves:

  1. Inputting Values: The user inputs specific values or selects options related to the color they wish to generate. This could include RGB (Red, Green, Blue) values or selecting from a color palette.
  2. Color Generation: The tool processes the input and generates a color code. In the context of SM64, this code might be in a format that the game's engine can understand, often represented in hexadecimal.
  3. Applying the Color: The generated color code is then applied within the game, either directly through the game's built-in functions or through external editing tools that allow for the modification of game assets.

Real SM64 Color Code Examples (No Generator Needed)

| Color Name | 8-bit RGB | 5-bit RGB (R,G,B) | SM64 Hex Code | | :--- | :--- | :--- | :--- | | Mario Red | (255, 0, 0) | (31, 0, 0) | 0x7C00 | | Luigi Green | (0, 255, 0) | (0, 31, 0) | 0x03E0 | | Wario Yellow | (255, 255, 0) | (31, 31, 0) | 0x7FE0 | | Metal Mario (Silver) | (192, 192, 192) | (24, 24, 24) | 0x6318 | | Vanish Cap (Cyan) | (0, 255, 255) | (0, 31, 31) | 0x03FF |

A good generator automates this math and displays the 4-character hex string you need to paste into your ROM editor.


Typical workflows

  1. Pick a base color (HEX or RGB).
  2. Convert to RGB565 and view the preview.
  3. Tweak saturation/brightness and observe how quantization changes the look.
  4. Export the converted values and paste into your modding tool or display list.
  5. Test in-emulator or on hardware to confirm final appearance; iterate as needed.

Vanilla ROM Hacking (Hex Editing)

Old-school generators output a single 2-byte hex value. You copy this directly into a ROM offset. These are rigid and prone to crashing if you overwrite the wrong byte.

The Chromatic Wildcard: Inside the SM64 Color Code Generator

In the mid-1990s, Nintendo defined 3D platforming with Super Mario 64. It was a landmark in gaming history, featuring a plump, red-and-blue plumber exploring vast, painting-filled worlds. But decades after its release, the game found a second life not just through speedrunning or mods, but through a bizarre, creative subculture known as Machinima (specifically the "YouTube Poop" and SM64 bloopers era).

At the heart of this community lies a deceptively simple tool: the SM64 Color Code Generator.

While the name sounds like a mundane utility, this tool represents the gateway between a player and a unique digital avatar. It is the mechanism that turned Mario into a cast of thousands, fueling a generation of online storytelling.