create a color database (as a yaml) store the color information into a kdtree
create a class that:
init: read a yaml file create a matrice n by 3 with the color info store this matrice into a kd-tree
return block_id(r,g,b) {closest point in the kdtree}
print the block info into the yaml file