Modifying colours to 256 bits palette.