step1: allocate colors
tool functions
step3: allocate desired color pages and remap
example