finish color table and form auto-generation

finish color table and form auto-generation