Every side project hits the same wall: you need a logo, a favicon, a social banner and about six other sizes, and the design budget is zero. So I built a small tool that generates a consistent set in the browser — no libraries, no upload, no signup.
It is here if you want to try it while reading: free banner and logo maker.
Why Canvas and not a library
The first version used html2canvas. It worked, but it pulled in a dependency, rendered the DOM, and occasionally produced blurry output. For a tool that only draws rectangles, text and an icon, that is overkill. A single <canvas> with the 2D context does the job at full resolution and loads instantly.
The core draw is small:
js function draw(){ const s = readState(); canvas.width = s.w; canvas.height = s.h; if (s.gradient){ const g = ctx.createLinearGradient(0,0,s.w,s.h); g.addColorStop(0, s.bg1); g.addColorStop(1, s.bg2); ctx.fillStyle = g; } else { ctx.fillStyle = s.bg1; } ctx.fillRect(0,0,s.w,s.h); ctx.font = `${s.bold?800:400} ${s.fontSize}px ${s.font}`; ctx.fillStyle = s.textColor; ctx.textAlign = s.align; ctx.textBaseline = 'middle'; // ...draw lines } Because the canvas is sized to the preset (720×80, 1200×630, 512×512, and so on), the exported PNG is exactly the resolution the platform asks for. No upscaling, no blur. Presets are the whole product The hard part of a design tool is not drawing — it is knowing the sizes. So the presets are a fixed list: YouTube, Twitter/X, GitHub, Discord, Open Graph, plus logo, badge and leaderboard. Pick one and the canvas resizes. Custom width and height are there when the preset list does not cover you. Two colors, one gradient Backgrounds are two colors with an optional gradient. That is deliberately small. A full theme system is nice, but two pickers cover most real output and keep the UI short enough that you do not scroll to see the preview. The underrated feature: copy the code Not everyone wants a PNG. Sometimes you want the banner to live in the page as markup. So the tool also emits a snippet: html <div style="width:720px;height:80px;background:linear-gradient(135deg,#4f46e5,#7c3aed);display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;color:#fff;">MAKE SOMETHING GREAT</div> Copy it into any page and you get the same design without an image request. For social cards and simple headers, that is often better than a file. Save locally, come back later The state is stored in localStorage, so a half-finished design survives a refresh. It is not a cloud project system — it is a convenience that stops you losing work when you close the tab. What it is not It is not a design tool in the Figma sense. There are no layers, no freehand, no vector editing. It produces type-and-color compositions at fixed sizes. That covers badges, banners and simple logos, and it is honest about the limits. Try it If you are staring at a blank artboard before a launch, this gets you a consistent set in a few minutes: open the banner and logo maker. Pick a size, type, pick two colors, download or copy the code. 