public void setBackgroundColor(AddressSetView addresses, Color color)
			throws ImproperUseException {

		if (isRunningHeadless()) {
			throw new ImproperUseException(
				"The setBackgroundColor() method can only be used when running headed Ghidra.");
		}

		PluginTool tool = state.getTool();
		ColorizingService service = tool.getService(ColorizingService.class);
		if (service == null) {
			printerr("Cannot set background colors without the " +
				ColorizingService.class.getSimpleName() + " installed");
			return;
		}

		service.setBackgroundColor(addresses, color);
	}
Sets the background of the Listing at the given addresses to the given color.  See the
Listing help page in Ghidra help for more information.
<p>
This method is unavailable in headless mode.
<p>
Note: you can use the {@link ColorizingService} directly to access more color changing
functionality.  See the source code of this method to learn how to access services from
a script.

@param addresses The addresses at which to set the color
@param color The color to set
@see #setBackgroundColor(Address, Color)
@see #clearBackgroundColor(AddressSetView)
@see ColorizingService
@throws ImproperUseException if this method is run in headless mode
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java