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
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:
255, 0, 0 for red)0xF800 for bright red)Step 4: Apply it in a ROM Editor Open your SM64 ROM in a tool like Toad’s Tool 64 or Mario Builder 64.
0x7C00) with your new code (like 0xF800).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.
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.
The process typically involves:
| 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.
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.
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.