add functions to change color and brightness at the same time