# MegaTron gradient

MegaTron is a green gradient from uiGradients (MIT), rendered in OKLab.

### MegaTron

- Slug: `megatron` · Page: https://brandsweets.com/gradients/megatron
- Stops: #c6ffdd, #fbd786, #f7797d · angle 90° · source uigradients
- Families: green, red · Moods: light
- CSS: `linear-gradient(90deg in oklab, #c6ffdd 0%, #fbd786 50%, #f7797d 100%)`
- Tailwind: `bg-linear-to-r/oklab from-[#c6ffdd] via-[#fbd786] to-[#f7797d]`
- Contrast (worst point): white 1.12:1 fail · black 7.99:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.c6ffdd-fbd786-f7797d?a=90
- Colors: https://brandsweets.com/colors/c6ffdd, https://brandsweets.com/colors/fbd786, https://brandsweets.com/colors/f7797d

## The same stops in other spaces

- sRGB (the source's own look): `linear-gradient(90deg in srgb, #c6ffdd 0%, #fbd786 50%, #f7797d 100%)`
- OKLCH shorter hue: `linear-gradient(90deg in oklch shorter hue, #c6ffdd 0%, #fbd786 50%, #f7797d 100%)`

Family pages: https://brandsweets.com/gradients/green, https://brandsweets.com/gradients/red

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
