func rgb(c color.Color) (int, int, int) {
	r, g, b, _ := c.RGBA()
	return int(float64(r) * c255), int(float64(g) * c255), int(float64(b) * c255)
}
func rgb(c color.Color) (int, int, int) {
	r, g, b, _ := c.RGBA()
	return int(float64(r) * c255), int(float64(g) * c255), int(float64(b) * c255)
}
func rgb ( c color . Color ) ( int , int , int ) { r , g , b , _ := c . RGBA ( ) return int ( float64 ( r ) * c255 ) , int ( float64 ( g ) * c255 ) , int ( float64 ( b ) * c255 ) }
// rgb converts a color (used by draw2d) into 3 int (used by gofpdf)
rgb converts a color ( used by draw2d ) into 3 int ( used by gofpdf )