dynamic bar color edit