colorbutton funcs improved