src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
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();
    }
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();
    }
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.

@param c  the color ({@code null} not permitted).

@return The SVG RGB color string.
Returns the SVG RGB color string for the specified color .