private String getBackColorOfEntity(IEntity entity) {
		if (entity.getSpecificBackColor() != null) {
			return "\"" + getAsHtml(entity.getSpecificBackColor()) + "\"";
		}
		final String stereo = entity.getStereotype() == null ? null : entity.getStereotype().getLabel();
		if (entity.getType() == EntityType.STATE || entity.getType() == EntityType.STATE_CONCURRENT) {
			return getColorString(ColorParam.stateBackground, stereo);
		}
		if (entity.getType() == EntityType.ACTIVITY || entity.getType() == EntityType.ACTIVITY_CONCURRENT
				|| entity.getType() == EntityType.BRANCH) {
			return getColorString(ColorParam.activityBackground, stereo);
		}
		throw new IllegalArgumentException(entity.getType().toString());
	}