private String rgbColorStr ( Color c ) { StringBuilder b = new StringBuilder ( "rgb(" ) ; b . append ( c . getRed ( ) ) . append ( "," ) . append ( c . getGreen ( ) ) . append ( "," ) . append ( c . getBlue ( ) ) . append ( ")" ) ; return b . toString ( ) ; }
Returns the SVG RGB color string for the specified color .