how to add color block legend