Skip to content

Instantly share code, notes, and snippets.

@remarkablemark
Created March 9, 2026 18:32
Show Gist options
  • Select an option

  • Save remarkablemark/c1222bae3874777f1c7daf8780091cd2 to your computer and use it in GitHub Desktop.

Select an option

Save remarkablemark/c1222bae3874777f1c7daf8780091cd2 to your computer and use it in GitHub Desktop.
apple.svg
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<defs>
<linearGradient id="appleBody" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#ff6b6b"/>
<stop offset="100%" stop-color="#c81e1e"/>
</linearGradient>
<linearGradient id="leafFill" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7bdc65"/>
<stop offset="100%" stop-color="#2f8f2f"/>
</linearGradient>
</defs>
<!-- Stem -->
<path
d="M270 110
C275 80, 295 55, 325 40
C307 67, 301 93, 304 118
C305 128, 298 136, 288 136
C278 136, 269 126, 270 110 Z"
fill="#5b3a29"/>
<!-- Leaf -->
<path
d="M294 74
C352 50, 401 67, 419 112
C365 133, 321 121, 294 74 Z"
fill="url(#leafFill)"/>
<!-- Apple body -->
<path
d="M255 145
C218 105, 141 112, 104 168
C67 224, 73 307, 109 372
C146 439, 198 472, 255 472
C312 472, 366 439, 403 372
C439 307, 445 224, 408 168
C371 112, 294 105, 257 145
C256 146, 256 146, 255 145 Z"
fill="url(#appleBody)"/>
<!-- Top notch -->
<path
d="M223 151
C231 132, 246 120, 256 120
C266 120, 281 132, 289 151
C279 143, 268 139, 256 139
C244 139, 233 143, 223 151 Z"
fill="#9f111b"/>
<!-- Highlight -->
<path
d="M156 206
C130 236, 122 280, 131 323
C136 348, 144 369, 154 387
C111 349, 102 276, 123 224
C133 200, 149 180, 168 165
C176 159, 187 165, 188 175
C189 186, 176 194, 168 202
C164 205, 160 208, 156 206 Z"
fill="#ffb3b3" opacity="0.45"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment