# Hexagons — component for backgrounds & gradients (html)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

A honeycomb of thin hexagon outlines

- **Install:** `curl -LO https://heropatterns.com/svg/hexagons.zip`
- **Registry:** hero-patterns · **Framework:** html · **License:** CC BY 4.0
- **Docs and preview:** https://heropatterns.com
- **Source:** https://heropatterns.com/svg/hexagons.zip
- **Example:** https://skills.varg.ai/previews/lib-hero-patterns-hexagons.webp?v=46220 (Rendered by varg from the library’s own code (Hero Patterns by Steve Schoger · rendered by varg))
- **Time:** Static. No motion of its own. Animate position, scale or color from the frame if the shot needs movement.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Use the "Hexagons" pattern from Hero Patterns by Steve Schoger (https://heropatterns.com, CC BY 4.0: attribution required, so add "Hero Patterns by Steve Schoger (heropatterns.com), CC BY 4.0" to the video description or end credits) as the background of a science, crypto or data-driven explainer. On heropatterns.com click Hexagons, set the foreground to #A5B4FC at 40% opacity on a #1E1B4B background and copy the generated CSS (the unstyled SVG tile is at https://heropatterns.com/svg/hexagons.zip); or `npm i hero-patterns` (a community MIT wrapper) and use `hexagons('#A5B4FC', 0.4)` as the background-image. Put it on a full-frame layer behind the content, repeating, and scale the tile with background-size. The 28×49 tile is small; 2× keeps the cells readable at 1080 wide. The pattern is static. To give it motion, drift it seek-safe: set background-position from the frame (Remotion: `${frame * 0.4}px ${frame * 0.2}px`; HyperFrames: tween backgroundPosition on the paused GSAP timeline), never with a CSS animation. Where text sits on top, drop the opacity to 10–25%.

## Used in

- [Year in review / Wrapped](https://skills.varg.ai/video/wrapped.md)
- [Lyric video](https://skills.varg.ai/video/lyric-video.md)
- [Karaoke video](https://skills.varg.ai/video/karaoke.md)
- [Logo sting](https://skills.varg.ai/video/logo-sting.md)
- [Title sequence](https://skills.varg.ai/video/title-sequence.md)
- [Brand guidelines film](https://skills.varg.ai/video/brand-guidelines.md)
- [Stream overlay package](https://skills.varg.ai/video/stream-overlay.md)
- [Shader loop](https://skills.varg.ai/video/shader-loop.md)

## More backgrounds & gradients

- [Aurora](https://skills.varg.ai/component/hf.aurora.md) — `npx hyperframes add aurora`
- [Aurora Drift](https://skills.varg.ai/component/hf.aurora-drift.md) — `npx hyperframes add aurora-drift`
- [Flowing Gradient](https://skills.varg.ai/component/hf.flowing-gradient.md) — `npx hyperframes add flowing-gradient`
- [Mesh Gradient](https://skills.varg.ai/component/hf.mesh-gradient.md) — `npx hyperframes add mesh-gradient`
- [Mesh Gradient Background](https://skills.varg.ai/component/hf.mesh-gradient-bg.md) — `npx hyperframes add mesh-gradient-bg`
- [Minimal Gradient Background](https://skills.varg.ai/component/hf.mk-background.md) — `npx hyperframes add mk-background`
