Implement get palette from color