diff --git a/Single/Graphics/PaletteEntry.cs b/Single/Graphics/PaletteEntry.cs index 5782ef2..489c45f 100644 --- a/Single/Graphics/PaletteEntry.cs +++ b/Single/Graphics/PaletteEntry.cs @@ -25,7 +25,7 @@ public byte[] GetRawData() public Color ToColor() { - return Color.FromArgb((Data & 0x1F) * 8, ((Data >> 8) & 0x1F) * 8, (Data >> 16) * 8); + return Color.FromArgb((Data & 0x1F) * 8, ((Data >> 5) & 0x1F) * 8, (Data >> 10) * 8); } } }