/** Gets a string representation of an AWT color. */ public String toString(java.awt.Color source) { return toTuple(source.getRGB()).toString(); }
/** Return the tuple representation of a color. */ public ColorTuple toTuple(java.awt.Color source) { int rgb = source.getRGB(); return toTuple(rgb); }