A simple HTML page to experiment with favicon and check the results using different browsers.
Obsolete: use https://realfavicongenerator.net/
Resources:
- https://github.com/audreyr/favicon-cheat-sheet
- Apple - Configuring Web Applications
- Chrome - Add to Homescreen
- W3C HTML5 - Link type "icon"
- W3C - Manifest for web application
- Current Favicon Icon Stack
You need Node.js
npm install
npm run gulp serve
open http://localhost:8080
# Create an ICO image using ImageMagick
convert ico-16.png ico-32.png ico-48.png 16-32-48.ico
It forces the browser to refresh the favicon. Increment the number whenever you change the icons otherwise you will have false results.
- OS X/Chrome 38: ico-16.png (tab + bookmark)
- Android 5.0.1/Chrome 40: 192.png (tab), 152-background.png (bookmark), 152-background.png rounded (manifest.json) (homescreen)
- OS X/Firefox 33.1: 192.png (tab + bookmark)
- Android 5.0.1/Firefox 35.0.1: 192.png (address + bookmark + homescreen)
- WinXP/IE6: ico-16.png (favorites)
- Win7/IE9: ico-16.png (tab + address + favorites)
- Win7/IE11: 16.png (tab + address + favorites)
- WinPhone 7.5/IE9: web site screenshot for the start screen, no tab nor favorite icon displayed
- Win8.1/IE11 desktop: 16.png (tab + address + favorites)
- Win8.1/IE11 modern UI/Metro: 16.png (tab + address), 144.png (favorites + start screen)
- OS X/Safari 8.0.2: 192.png (address)
- iPhone Retina 7.1/Safari: 152-background.png rounded (apple-touch-icon) (bookmark + add to home)
- iPad Retina 7.1/Safari: 152-background.png rounded (apple-touch-icon) (bookmark + add to home)
- OS X/Opera 12.15: 192.png (tab + speed dial + bookmark)
The declaration order does not seem to change anything
- .ico file with 16x16, 32x32 and 48x48 transparent PNGs
- Android:
<link rel="icon" sizes="192x192" href="192.png">
+ manifest.json 192x192 PNG with background, will be rounded by Android/Chrome - iOS: 152x152 apple-touch-icon (iOS), will be rounded by iOS
- Windows 8 modern UI/Metro: msapplication-TileImage (+ msapplication-TileColor if the tile image does not have a background)
<link rel="shortcut icon" href="16-32-48.ico?v=1">
<link rel="icon" sizes="192x192" href="192.png?v=1">
<link rel="manifest" href="manifest.json?v=1">
<link rel="apple-touch-icon" sizes="152x152" href="152-background.png?v=1">
<meta name="msapplication-TileImage" content="144.png?v=1">
<meta name="msapplication-TileColor" content="#ccc">