Update internal color when the cascaded color or opacity is changed.