Certainly! Here is SVG code for a detailed and realistic butterfly. This SVG uses gradients, multiple paths, and some opacity to create a more lifelike appearance. You can copy and use this SVG directly in your HTML or design projects.
svg Copy code
<svg width="400" height="300" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg">
<defs>
<!-- Gradients for wings -->
<linearGradient id="wingGradient1" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#f7b42c"/>
<stop offset="60%" stop-color="#f76d2b"/>
<stop offset="100%" stop-color="#3a1c71"/>
</linearGradient>
<linearGradient id="wingGradient2" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#f7b42c"/>
<stop offset="60%" stop-color="#f76d2b"/>
<stop offset="100%" stop-color="#3a1c71"/>
</linearGradient>
<radialGradient id="bodyGradient" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#4b3b2a"/>
<stop offset="100%" stop-color="#1a120b"/>
</radialGradient>
<radialGradient id="eyeGradient" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#fff"/>
<stop offset="100%" stop-color="#222"/>
</radialGradient>
</defs>
<!-- Left upper wing -->
<path d="M200,150
C120,60 40,60 80,180
C100,220 180,200 200,150"
fill="url(#wingGradient1)" stroke="#2d1a0b" stroke-width="2"/>
<!-- Right upper wing -->
<path d="M200,150
C280,60 360,60 320,180
C300,220 220,200 200,150"
fill="url(#wingGradient2)" stroke="#2d1a0b" stroke-width="2"/>
<!-- Left lower wing -->
<path d="M200,170
C140,200 60,260 120,260
C160,260 180,210 200,170"
fill="url(#wingGradient1)" opacity="0.85" stroke="#2d1a0b" stroke-width="2"/>
<!-- Right lower wing -->
<path d="M200,170
C260,200 340,260 280,260
C240,260 220,210 200,170"
fill="url(#wingGradient2)" opacity="0.85" stroke="#2d1a0b" stroke-width="2"/>
<!-- Wing patterns (left) -->
<ellipse cx="120" cy="120" rx="18" ry="8" fill="#fff" opacity="0.7"/>
<ellipse cx="100" cy="170" rx="10" ry="5" fill="#fff" opacity="0.6"/>
<ellipse cx="140" cy="200" rx="8" ry="4" fill="#fff" opacity="0.5"/>
<!-- Wing patterns (right) -->
<ellipse cx="280" cy="120" rx="18" ry="8" fill="#fff" opacity="0.7"/>
<ellipse cx="300" cy="170" rx="10" ry="5" fill="#fff" opacity="0.6"/>
<ellipse cx="260" cy="200" rx="8" ry="4" fill="#fff" opacity="0.5"/>
<!-- Body -->
<ellipse cx="200" cy="180" rx="16" ry="50" fill="url(#bodyGradient)" stroke="#2d1a0b" stroke-width="2"/>
<!-- Head -->
<ellipse cx="200" cy="130" rx="14" ry="14" fill="url(#bodyGradient)" stroke="#2d1a0b" stroke-width="2"/>
<!-- Eyes -->
<ellipse cx="194" cy="128" rx="3" ry="4" fill="url(#eyeGradient)"/>
<ellipse cx="206" cy="128" rx="3" ry="4" fill="url(#eyeGradient)"/>
<!-- Antennae -->
<path d="M200,120 Q190,100 180,110" stroke="#2d1a0b" stroke-width="2" fill="none"/>
<path d="M200,120 Q210,100 220,110" stroke="#2d1a0b" stroke-width="2" fill="none"/>
<!-- Antennae tips -->
<circle cx="180" cy="110" r="2" fill="#2d1a0b"/>
<circle cx="220" cy="110" r="2" fill="#2d1a0b"/>
</svg>
Feel free to adjust the colors, shapes, or add more patterns for even more realism!