Sm64 Color Code Generator Info

If you are playing on a real N64 or Project64, you can use RAM cheats to change colors without modifying the ROM. A generator helps you create the cheat.


Tools like the SM64 Decomp Color Tool integrate directly with the build system. Instead of hex codes, you can edit a color.c file directly:

struct MarioState gMarioState = 
    .shirtColor =  102, 0, 153, 255 , // RGBA
    .pantsColor =  0, 0, 255, 255 ,
;

When you compile, the build system automatically converts these RGBA values into the necessary low-level RGB565 codes. Modern SM64 Color Code Generators now offer an "Export to Decomp" button that generates the C struct for you.

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. Sm64 Color Code Generator

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.


Most generators are either:

After choosing a color (e.g., fire-red overalls or electric-blue overalls), the tool outputs a string like: If you are playing on a real N64

`0xFF6347` (tomato red)

or a Render96 color config line:

`shirt_color = 1.0 0.4 0.2`

The SM64 Color Code Generator is a small but profound example of how retro communities keep history alive. It turns an arbitrary limitation—the N64’s 16-bit color depth—into a creative feature. Without it, every custom Mario would look oddly washed out or glitchy. With it, we get vibrant, weird, and wonderful interpretations of a 1996 classic.

Whether you are a modder building the next Super Mario 64: Star Road or just a fan who wants to play as a purple-mustached Mario for Halloween, the color code generator is your essential tool. It translates the language of modern creativity back into the dialect of N64 silicon.

So pick a color. Generate the code. Recompile the ROM. And see your custom Mario leap into a painting for the first time—in exactly the shade you imagined.


Have you used an SM64 Color Code Generator for a unique palette swap? Share your RGB565 conversions with the modding community—you might just inspire the next great romhack. Tools like the SM64 Decomp Color Tool integrate

This is a comprehensive piece exploring the concept, technicality, and community culture surrounding the SM64 Color Code Generator.


Several communities and online forums are dedicated to SM64 modding, where enthusiasts share tools, techniques, and resources, including color code generators. These tools are often created by the community for the community, reflecting the creativity and technical skill of SM64 fans.

You generated a beautiful sunset orange, but in-game, it looks like stripes of red and yellow. This is color banding, caused by the 15-bit depth. The generator cannot fix this; you must use "Ordered Dithering" in your texture editor to trick the eye.

Super Mario 64 (SM64) is more than just a game; it is a cornerstone of speedrunning, modding, and 3D platforming history. For nearly three decades, players have dissected every polygon of Peach’s Castle. However, one of the most enduring trends in the modern SM64 community is visual customization—specifically, changing the color of Mario’s hat, overalls, and shirt.

If you have ever searched for an "SM64 Color Code Generator," you are likely a ROM hacker, a texture artist, or a casual player tired of the standard red. You want the fiery orange of Metal Mario, the cool blue of a Vanish Cap, or perhaps a neon pink aesthetic.

But here is the catch: SM64 does not use a standard RGB slider like Photoshop. It uses a proprietary, hex-based color system tied to the game’s limited 15-bit color depth (RGB555). This article explains everything you need to know about generating accurate color codes for SM64, modifying character palettes, and injecting your custom look into the game.