private Highlight[] getFunctionSignatureHighlights(String text, Object obj,
			int cursorTextOffset) {
		Function function = null;
		if (obj instanceof Function) {
			function = (Function) obj;
		}
		else if (obj instanceof Variable) {
			Variable variable = (Variable) obj;
			function = variable.getFunction();
		}
		else {
			Msg.error(this, "Can't get highlights for a " + obj.getClass().getName());
			return new Highlight[0];
		}
		Address address = function.getEntryPoint();
		HashMap<VTMarkupType, VTMarkupItem> typeMap = map.get(address);
		if (typeMap != null) {
			ArrayList<Highlight> highlightList = new ArrayList<>();

//			// Check if the text is in the Return Type
//			addFunctionHighlight(FunctionReturnTypeMarkupType.INSTANCE, text, cursorTextOffset,
//				typeMap, highlightList);

			// Check if the text is in the Function Name
			addFunctionNameHighlight(text, cursorTextOffset, typeMap, highlightList);

//			// Check if the text is in the Parameter Signature
//			addParameterSignatureHighlight(text, cursorTextOffset, typeMap, highlightList);

//			// Check if the text is in the Function Inline flag.
//			addFunctionInlineHighlight(text, cursorTextOffset, typeMap, highlightList);

//			// Check if the text is in the Function No Return flag.
//			addFunctionNoReturnHighlight(text, cursorTextOffset, typeMap, highlightList);

			// Check if the text is in the Function Signature (return type, calling convention, parameters).
			addFunctionSignatureHighlight(text, cursorTextOffset, typeMap, highlightList);

//			// Check if the text is in the Parameter Names.
//			addParameterNamesHighlight(text, cursorTextOffset, typeMap, highlightList);

			return highlightList.toArray(new Highlight[highlightList.size()]);
		}
		return new Highlight[0];
	}
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