Ever found yourself in need of a specific color for your Super Mario 64 (SM64) project, but struggled to find the exact shade? Enter the SM64 color code generator, a lifesaver for modders, level designers, and enthusiasts alike. This handy tool translates colors from various formats into the unique SM64 RGB format, ensuring your projects maintain that classic Nintendo 64 aesthetic.

In this guide, we'll delve into the world of SM64 color codes. We'll explore what these codes are, how to generate them, and how to use them to bring your creative vision to life. So, let's dive in and unravel the mysteries of SM64 color codes.

Understanding SM64 Color Codes
SM64 color codes are a unique RGB (Red, Green, Blue) color format used in the game's texture files. Unlike standard RGB values that range from 0 to 255, SM64 color codes use a range of 0 to 254. This is because the first value in the SM64 RGB triplet represents the transparency of the color, with 0 being fully transparent and 255 being fully opaque.

Here's a simple breakdown of the SM64 RGB format: RRRGGGBBB. Each letter represents a two-digit hexadecimal value, ranging from 00 to FF (255 in decimal). The first three letters represent the transparency and color intensity, while the last three letters represent the actual color.
Generating SM64 Color Codes

Now that we understand the basics of SM64 color codes, let's look at how to generate them. There are several methods, but we'll focus on two popular ones: using an online generator and creating them manually.
Using an Online SM64 Color Code Generator
Online SM64 color code generators are tools that allow you to input a color in various formats (like hex, RGB, or HSL) and output the corresponding SM64 color code. They're user-friendly and perfect for those new to SM64 color codes. Here's how to use one:

- Find a reliable online SM64 color code generator. A quick Google search should provide several options.
- Input your desired color in the format specified by the generator (usually hex, RGB, or HSL).
- Click the 'Generate' or 'Convert' button.
- Copy the resulting SM64 color code and use it in your project.
Manually Generating SM64 Color Codes
For those who prefer a more hands-on approach, manually generating SM64 color codes can be a rewarding challenge. Here's how:

- Convert your desired color's RGB values to hexadecimal. For example, RGB(255, 0, 0) becomes #FF0000.
- Remove the '#' symbol from the hex code, leaving you with a six-digit number (e.g., FF0000).
- Add a leading '0' to the first two digits to represent the transparency. This gives you a seven-digit number (e.g., 0FF0000).
- Convert this seven-digit number back to hexadecimal, and you have your SM64 color code (e.g., 00FF0000).
Using SM64 Color Codes in Your Projects



















Now that you've generated your SM64 color codes, it's time to put them to use. Here's how to incorporate them into your projects:
Modifying Texture Files
SM64's texture files use a format called 'TXD'. To change the colors in these files, you'll need a TXD editor. Open your desired texture in the editor, locate the color you want to change, and input your new SM64 color code. Save your changes, and you're good to go!
Using In-Game Editors
Some in-game editors, like Mario64 ROM Editor, allow you to input SM64 color codes directly. This makes it easy to experiment with different colors without leaving the game.
In the ever-evolving world of SM64 modding, understanding and utilizing SM64 color codes is a crucial skill. Whether you're a seasoned modder or just starting out, mastering this aspect of the game's color palette will open up new creative possibilities. So, go forth, experiment, and happy modding!