Color Layout Fix

Fixed issues with “Color” layout and Conditionals. Extrapolated
color-choosing function to make the progress bar different than the
background color on color layouts.