class SDL_Palette implements ArrayAccess