Added dynamic coloring to panels