SVG Blend Studio lets you upload a bitmap image (JPG, PNG, WEBP) and generate a single SVG that remains re‑colorable while preserving texture.
It stacks two color layers using CSS blend modes:
- color: applies hue/saturation of your chosen fill while preserving brightness
- overlay: remaps brightness so blacks stay black, whites stay white, and mid‑gray shows pure fill
The result is a compact SVG you can re‑tint by changing fill values, ideal for textured artwork like embroidery patterns.
- Live tool: GitHub Pages
- Stack: Vite, React 18, TypeScript, Tailwind CSS, shadcn/ui (Radix primitives)
- CSS features:
mix-blend-mode: colorandmix-blend-mode: overlay
Run locally:
# Requirements: Node 18+ and npm
npm install
npm run dev
# Dev server at http://localhost:5173 (default Vite port)Build a production bundle:
npm run build
# Outputs to dist/Preview the production build locally:
npm run preview- Platform: GitHub Pages
- Automation: GitHub Actions workflow at
.github/workflows/deploy.yml - Trigger: On push to
main(and manual dispatch) - Process:
- Install dependencies with
npm ci - Build with
npm run build(Vite automatically sets the correct base usingGITHUB_REPOSITORY) - Upload
dist/as the Pages artifact - Deploy via
actions/deploy-pages
- Install dependencies with