Refactor: Replace malloc with array
Refactor: Localize variable
Refactor: Change signature SetColorPaletteName