Certainly! Here is a detailed SVG code for a butterfly. You can copy and use this SVG directly in your HTML or design projects. The SVG includes gradients, multiple paths, and some intricate wing patterns for a more realistic and decorative look.
<svg
viewBox="0 0 400 300"
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<radialGradient id="wingGradient1" cx="50%" cy="50%" r="80%">
<stop offset="0%" stop-color="#fffbe6"/>
<stop offset="60%" stop-color="#fbb03b"/>
<stop offset="100%" stop-color="#e17009"/>
</radialGradient>
<radialGradient id="wingGradient2" cx="50%" cy="50%" r="80%">
<stop offset="0%" stop-color="#fffbe6"/>
<stop offset="60%" stop-color="#a3d5d3"/>
<stop offset="100%" stop-color="#2e8b8b"/>
</radialGradient>
<linearGradient id="bodyGradient" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#3a2c1a"/>
<stop offset="100%" stop-color="#6e4b1b"/>
</linearGradient>
</defs>
<!-- Left Upper Wing -->
<path
d="M120,150
C40,60 60,30 180,80
C220,100 180,180 120,150"
fill="url(#wingGradient1)"
stroke="#a65c00"
stroke-width="3"
/>
<!-- Right Upper Wing -->
<path
d="M280,150
C360,60 340,30 220,80
C180,100 220,180 280,150"
fill="url(#wingGradient1)"
stroke="#a65c00"
stroke-width="3"
/>
<!-- Left Lower Wing -->
<path
d="M120,150
C60,200 80,250 180,210
C200,200 160,180 120,150"
fill="url(#wingGradient2)"
stroke="#1a5c5c"
stroke-width="3"
/>
<!-- Right Lower Wing -->
<path
d="M280,150
C340,200 320,250 220,210
C200,200 240,180 280,150"
fill="url(#wingGradient2)"
stroke="#1a5c5c"
stroke-width="3"
/>
<!-- Wing Patterns (Left Upper) -->
<ellipse cx="140" cy="110" rx="18" ry="8" fill="#fff" opacity="0.7"/>
<ellipse cx="160" cy="130" rx="10" ry="5" fill="#fff" opacity="0.5"/>
<ellipse cx="110" cy="140" rx="7" ry="3" fill="#fff" opacity="0.4"/>
<!-- Wing Patterns (Right Upper) -->
<ellipse cx="260" cy="110" rx="18" ry="8" fill="#fff" opacity="0.7"/>
<ellipse cx="240" cy="130" rx="10" ry="5" fill="#fff" opacity="0.5"/>
<ellipse cx="290" cy="140" rx="7" ry="3" fill="#fff" opacity="0.4"/>
<!-- Wing Patterns (Left Lower) -->
<ellipse cx="140" cy="190" rx="8" ry="4" fill="#fff" opacity="0.5"/>
<ellipse cx="170" cy="200" rx="5" ry="2" fill="#fff" opacity="0.3"/>
<!-- Wing Patterns (Right Lower) -->
<ellipse cx="260" cy="190" rx="8" ry="4" fill="#fff" opacity="0.5"/>
<ellipse cx="230" cy="200" rx="5" ry="2" fill="#fff" opacity="0.3"/>
<!-- Body -->
<ellipse cx="200" cy="160" rx="16" ry="40" fill="url(#bodyGradient)" stroke="#2d1a00" stroke-width="3"/>
<!-- Head -->
<ellipse cx="200" cy="120" rx="12" ry="14" fill="#3a2c1a" stroke="#2d1a00" stroke-width="2"/>
<!-- Antennae -->
<path d="M200,110 Q190,90 180,110" stroke="#2d1a00" stroke-width="3" fill="none"/>
<circle cx="180" cy="110" r="3" fill="#2d1a00"/>
<path d="M200,110 Q210,90 220,110" stroke="#2d1a00" stroke-width="3" fill="none"/>
<circle cx="220" cy="110" r="3" fill="#2d1a00"/>
<!-- Body Segments -->
<ellipse cx="200" cy="140" rx="10" ry="6" fill="#6e4b1b" opacity="0.5"/>
<ellipse cx="200" cy="160" rx="9" ry="5" fill="#6e4b1b" opacity="0.4"/>
<ellipse cx="200" cy="180" rx="8" ry="4" fill="#6e4b1b" opacity="0.3"/>
</svg>
How to use:
- Paste this SVG code into your HTML file or an SVG editor.
- You can adjust colors, gradients, and shapes for further customization.
Let me know if you want a different style or more details!