private String getSerializedValue() {
		if (referenceId != null) {
			return toExternalId(referenceId);
		}
		String outputString = WebColors.toString(value, false);
		String colorName = WebColors.toWebColorName(value);
		if (colorName != null) {
			outputString += " // " + colorName;
		}
		return outputString;
	}
Parses the value string into a color or reference and creates a new ColorValue using
the given key and the parse results.
@param key the key to associate the parsed value with
@param value the color value to parse
@return a ColorValue with the given key and the parsed value
Ghidra/Framework/Gui/src/main/java/generic/theme/ColorValue.java