Color Generator

Generate random colors from the API and copy their values.

Loading…

API Example

// Fetch a single hex color
fetch('/playground/color-generator/get?format=hex&count=1')
  .then(r => r.json())
  .then(data => console.log(data.color || data.colors[0]));