public static String toRGBString(Color color) {
		StringBuilder buffy = new StringBuilder();
		buffy.append(StringUtilities.pad(Integer.toString(color.getRed()), '0', 3));
		buffy.append(StringUtilities.pad(Integer.toString(color.getGreen()), '0', 3));
		buffy.append(StringUtilities.pad(Integer.toString(color.getBlue()), '0', 3));
		return buffy.toString();
	}
Returns a color string of the format rrrgggbbb.  As an example, {@link Color#RED} would be
returned as 255000000 (the values are padded with 0s to make to fill up 3 digits per
component).

@param color The color to convert.
@return a string of the format rrrgggbbb.
Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java