Contents
  1. The short answer
  2. Why a triangle works as a favicon symbol
  3. Geometry choices that affect small-size clarity
  4. Equilateral, isosceles or right triangle
  5. Optical centering
  6. Sharp or rounded corners
  7. Fill rather than outline
  8. Step-by-step: building the triangle favicon
  9. Example SVG and markup
  10. Color and contrast
  11. Verifying the result
  12. Rights and sourcing
  13. Information gaps

The short answer

A triangle is one of the most reliable symbols for a favicon because it is a closed shape that stays recognizable even at very small sizes. To work in a browser tab, it should be built as a single solid filled shape on a square canvas, optically centered rather than mathematically centered, and checked at actual display size on both light and dark backgrounds. The design decisions that matter most are orientation, corner treatment and how the slanted edges render on a pixel grid.

A few terms are used throughout this guide. A favicon is the small icon a browser shows in tabs, bookmarks and history. A vector file describes artwork as mathematical paths, so it can be scaled without losing sharpness. A raster file, such as PNG or ICO, stores fixed pixels. Anti-aliasing is the blending of edge pixels with intermediate shades so that diagonal or curved edges look smooth instead of jagged.

Why a triangle works as a favicon symbol

At favicon scale, detail disappears and only silhouette remains. A triangle has a distinctive outline with three clear points, so it reads quickly even when it occupies only a handful of pixels. It also has a strong horizontal base, which aligns neatly with the pixel grid and gives the icon a stable foundation.

The drawback is that triangles are common. An upright triangle can resemble a warning sign, and a triangle pointing right is widely read as a play button. If your brand is not related to media or playback, a right-pointing triangle may send the wrong signal. Decide which associations you want before choosing a direction.

  • Pointing up: often read as stability, ascent, a peak or growth.
  • Pointing down: less common; can feel like a funnel, a marker or a downward indicator.
  • Pointing right: strongly associated with play, forward motion or next.
  • Pointing left: associated with back or previous; rarely used as a brand symbol on its own.

Geometry choices that affect small-size clarity

Equilateral, isosceles or right triangle

An equilateral triangle has three equal sides, and its height is the side length multiplied by the square root of 3 divided by 2, roughly 0.87 of the width. That means it never fills a square canvas vertically when its base fills the width, so it can look small next to square or circular favicons. A taller isosceles triangle fills more of the square but becomes narrower at the apex, which can cause the tip to vanish at small sizes. A right triangle uses one vertical and one horizontal edge, both of which snap cleanly to pixels, leaving only one diagonal to anti-alias. Choose the proportion that matches your main logo, then test whether the apex survives at tab size.

Optical centering

If you center a triangle by its bounding box, it usually looks too high or too low because most of its visual mass sits near the base. The centroid, the geometric balance point, lies one third of the way up from the base, while the bounding-box center lies halfway. Optical centering means nudging the shape until it looks balanced, which typically places it somewhere between those two points. There is no fixed offset to apply; adjust by eye at actual size.

Sharp or rounded corners

A perfectly sharp apex tapers to nothing, and at very small sizes that tip can render as a faint gray pixel or disappear entirely. Slightly rounding the corners, or blunting the apex, keeps the point visible. If your primary logo uses sharp corners, a separate small-size version with subtle rounding is a common and legitimate design practice, not a brand violation, provided your brand guidelines allow optimized variants.

Fill rather than outline

An outlined triangle relies on thin strokes, and thin diagonal strokes break up badly when anti-aliased at low resolution. A solid filled triangle almost always reads better. If the logo is an outline, consider a filled variant for the favicon, or make the stroke heavy enough that the interior space is still visible at small sizes.

Step-by-step: building the triangle favicon

  • 1. Start a square artboard in your vector editor. Favicons are displayed in square slots, so a non-square canvas will be letterboxed or distorted.
  • 2. Draw the triangle as a single closed path with a fill and no stroke. If you started from a stroked shape, convert the stroke to an outline so the result is a filled path.
  • 3. Leave a small, consistent margin around the shape so it does not touch the canvas edges, where it can feel cramped next to other tab icons.
  • 4. Align the base to whole units on the canvas so the horizontal edge lands on a pixel boundary when rasterized.
  • 5. Center the shape optically, then review it at small zoom levels to confirm the balance.
  • 6. Decide on corner treatment and apply any rounding to the path itself, not as a visual effect that may not export.
  • 7. Remove hidden layers, unused swatches, editor metadata and any embedded raster images before exporting.
  • 8. Export an SVG for browsers that support vector favicons, then produce raster versions from the same master artwork.
  • 9. Check every exported raster at its native pixel size, and hand-correct any rendering problems in the small versions if needed.

Example SVG and markup

The snippet below shows a minimal filled triangle on a 32-unit square with a color change for dark mode. The coordinates are an illustrative starting point, not a specification; adjust them for your own proportions and optical centering. The required SVG namespace attribute is omitted here for brevity and is added automatically by standard export tools.

<svg viewBox="0 0 32 32">
  <style>
    path { fill: #1a1a1a; }
    @media (prefers-color-scheme: dark) {
      path { fill: #f2f2f2; }
    }
  </style>
  <path d="M16 4 L29 26 H3 Z"/>
</svg>

In the page head, the SVG is typically declared alongside a raster fallback, because support for SVG favicons differs between browsers and platforms. Home-screen icons on mobile devices and web app manifests generally expect PNG files at larger sizes, so check the current documentation for each platform you target.

<link rel="icon" href="favicon.ico" sizes="any">
<link rel="icon" href="favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="apple-touch-icon.png">

Color and contrast

Browser tabs can be light, dark or tinted, and you do not control which. A dark triangle on a transparent background can vanish on a dark tab bar. Two common solutions are placing the triangle on a solid square or rounded-square background, or using the dark-mode media query shown above in the SVG version. Raster fallbacks cannot switch color, so a background plate is often the safer choice for ICO and PNG files.

Verifying the result

  • View the favicon in real browser tabs, not only in your design tool, at normal zoom.
  • Check it in both light and dark browser themes and operating system modes.
  • Confirm the apex is still visible and the base is crisp in the smallest raster version.
  • Place it beside other common favicons in open tabs to judge whether it is distinctive or easily confused with a play or warning icon.
  • Open the exported SVG in a text editor to confirm it contains vector paths and not an embedded bitmap; a file extension alone does not prove the content is vector.
  • Clear the browser cache or use a private window when testing, since favicons are cached aggressively.

Rights and sourcing

If you are using a triangle logo you did not create, such as a template or stock mark, having an editable vector file does not grant permission to use it as your brand icon. Check the license terms before adapting it. Because simple triangles are widely used, it is also worth reviewing whether a similar mark already exists in your industry before committing to one.

Information gaps

No brand-specific details, measurements or platform test results were supplied for this guide, so it does not recommend exact proportions, colors or offsets for a particular logo. The geometry and rendering principles above are general; final values should come from testing your own artwork at actual display size and from the current documentation of the browsers and platforms you need to support.