class HTMLUtilities {

	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();
	}

}