Splitting header and creating palette based on menu logo