Placeholder Image Generator

Generate placeholder images dynamically by specifying size and optional colors in the URL. This tool is ideal for prototyping layouts, UI scaffolding, or preview blocks.

Basic Usage

Request an image using query parameters:

https://ph.webitor.dev/?w=300&h=200
300x200 example

Parameters

Examples

Random gradient:

https://ph.webitor.dev/?w=400&h=150
random gradient

Custom text:

https://ph.webitor.dev/?w=400&h=150&t=hello
random gradient

Custom start color:

https://ph.webitor.dev/?w=400&h=150&c1=ff8800
custom start

Solid color (repeat c1 and c2):

https://ph.webitor.dev/?w=400&h=150&c1=336699&c2=336699
solid color