private Highlight[] getRepeatableCommentHighlights(String text, Object obj,
			int cursorTextOffset, Highlight[] highlights) {
		Address address = null;
		if (obj instanceof Function) {
			Function function = (Function) obj;
			address = function.getEntryPoint();
		}
		else if (obj instanceof CodeUnit) {
			CodeUnit codeUnit = (CodeUnit) obj;
			address = codeUnit.getMinAddress();
		}
		ArrayList<Highlight> highlightList = new ArrayList<>();
		HashMap<VTMarkupType, VTMarkupItem> typeMap = map.get(address);
		if (typeMap != null) {
			VTMarkupItem markupItem = typeMap.get(RepeatableCommentMarkupType.INSTANCE);
			if (markupItem != null) {
				getBothStringHighlights(text, cursorTextOffset, highlightList, markupItem);
			}
		}
		return highlightList.toArray(new Highlight[highlightList.size()]);
	}
Creates a darker shade of the color passed-in, based on the given amount.

algorithm: 1) grab individual rgb elements
           2) multiply each by a factor.
           
           ie: int newRed = (int)(oldRed * 0.85);

@param color the color to shade
@param amount number between 0..1 (the smaller the number, the darker the shade)
@return the new color
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/duallisting/VTDualListingHighlightProvider.java