创建自定义调色板的挑战

you have another old topic that may help you with this