Text to Gradient

Generate unique mesh gradients from any text. Same input always produces the same gradient. Export as CSS or PNG.

How To Use

npm versionLicense
$ npm install text-to-gradient
import { textToGradient } from "text-to-gradient";

const css = textToGradient("hello");
npmGitHubDocs

How It Works

1

Type any text

Enter a name, email, title, UUID, or any string. The gradient updates instantly.

2

Deterministic output

The same text always produces the same gradient. Different text produces different gradients. Great for consistent visual identity.

3

Export

Copy the CSS code for your project, or download as a PNG at your chosen resolution.

FAQ

Built & Maintained by Varstatt

Varstatt is a one-person product studio run by Jurij Tokarski, product engineer since 2011. These tools are free and open — no signup, no catch.