Hi Mario,
You can change the button color using Nanoflow and java script action.
call the nanoflow when ever color code change and create a javascript action in pass your color code.
document.getElementsByClassName('yourbtnclassname')[0].style.backgroundColor =colorcode;
a