Logoluv

SVG

SVG (Scalable Vector Graphics) is a W3C file format for two-dimensional vector images, written as XML text. Browsers display it directly, and it stays sharp at any size.

Open an SVG in a text editor and you will see its shapes written out: a <circle> here, a <path> there, each with its own fill colour. That makes SVGs small for simple artwork, editable without design software and easy to restyle with CSS.

SVG is the usual format for logos, icons and illustrations on websites. A logo saved as SVG needs only one file for every screen size. It is a poor fit for photographs, which are better as raster images such as PNG or WebP.

Our free illustrations, icons and every brand logo on LogoLuv come as SVG files. Many of the illustrations are released under CC0.

Related terms

  • CC0: CC0 is a Creative Commons tool with which a creator gives up their copyright in a work, as far as the law allows, so anyone can copy, change and use it, even commercially, without asking or giving credit.
  • PNG: PNG (Portable Network Graphics) is a raster image format that compresses without losing any detail and can store transparency, which makes it the usual choice for logos and graphics with sharp edges.
  • Transparent background: A transparent background is the part of an image that has no colour of its own, so whatever is behind the image shows through. It is stored in an alpha channel that sets how opaque each pixel is.
  • Vector graphic: A vector graphic is an image stored as shapes (points, lines, curves and fills) described by maths instead of pixels, so it can be scaled to any size without losing sharpness.

Sources

  • w3.org: SVG is a language for describing two-dimensional graphics, using XML syntax
  • developer.mozilla.org: SVG is a 2D vector image format based on XML; all major browsers support it

More terms in File formats or the full glossary.