finalize color.c