Best For
holographic / iridescent / holo foil
全息渐变
Rate this styleRainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience.
Best For
holographic / iridescent / holo foil
Primary Move
Use multi-color gradient backgrounds (linear-gradient with 3+ color stops)
Watch Out
Don't use flat solid colors without gradient
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
A rainbow spectrum drifting with angle over deep space — holographic foil turning in the light.
Theme: dark
Holographic simulates the prismatic refraction of foil: the ground is a deep violet or navy (#0a0a1f), every element carries a gradient of three or more stops, and that gradient flows laterally on interaction. The rule is Spectrum Shift — background-size at 200% with background-position shifting from left to right on hover, imitating foil changing hue with the angle. Flat solid elements are banned, since without a gradient the material disappears; light grounds kill the effect outright, as do desaturated colors and sharp corners with no glow.
| Name | Value | Token | Role |
|---|---|---|---|
| Deep Space | #0a0a1f | --color-deep-space | The page ground — dark enough to float every iridescence above it. |
| Deep Violet | #1a0b2e | --color-deep-violet | Secondary panel grounds, more violet than the deep space. |
| Hologram Violet | #a855f7 | --color-hologram-violet | The gradient's anchor and the brand tone, most often where a button begins. |
| Magenta | #ff0080 | --color-magenta | The spectrum's warm end, carrying the gradient from violet into cyan. |
| Cyan | #00d4ff | --color-cyan | The spectrum's cool end and the brightest stop in the gradient. |
| Gold | #ffd700 | --color-gold | Highlights and foil flare — appearing only inside gradients, never as a fill. |
| Neon Green | #00ff88 | --color-neon-green | The spectrum's fifth stop, giving the gradient an irregular edge. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | — | 700 | 52px | 1.1 | -0.02em | --text-display |
| heading | — | 700 | 36px | 1.2 | — | --text-heading |
| subheading | — | 500 | 24px | 1.3 | — | --text-subheading |
| body-lg | — | 400 | 17px | 1.55 | — | --text-body-lg |
| body | — | 400 | 14px | 1.6 | — | --text-body |
| label | — | 500 | 12px | 1.4 | 0.14em | --text-label |
Base unit: 8px Density: comfortable
| Name | Value | Token |
|---|---|---|
| 8 | 8px | --spacing-8 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| 96 | 96px | --spacing-96 |
| 128 | 128px | --spacing-128 |
| Element | Value |
|---|---|
| cards | 20px |
| buttons | 999px |
| inputs | 16px |
Role: Primary action
A three-stop violet-to-magenta-to-cyan linear gradient, white text, fully rounded, no border, 15px/700, 12px 28px padding, with a 0 0 32px glow at 30% magenta. background-size sits at 200% auto and hover moves background-position from left to right over 1.2s ease — that is Spectrum Shift. Press scales 0.98.
Role: Content card
6% white fill, 20px radius, a 1px white border at 12%, 24px padding, with a soft violet-to-cyan halo at 0 0 40px 35%. A 2px three-stop gradient rule (violet, magenta, cyan) caps it as the foil edge. Hover reverses the gradient's flow and turns the halo magenta.
Role: Gradient headline
background: linear-gradient(90deg, violet, magenta, cyan, gold) with background-clip text and transparent color, at 200% size and shifting on hover. Reserved for the hero and section headings; body copy never takes it, or legibility collapses.
Role: Input field
6% white fill, 16px radius, a 1px white border at 15%, 12px 18px padding at 15px. Focus swaps the border for a 1px gradient via border-image or a pseudo element and adds a 3px ring at 25% violet — and that ring must carry an offset in the deep space color or it vanishes.
Role: Decorative orb
A circle from 96px to 240px on a radial gradient fading from violet at the centre through magenta into cyan, no border, with a 0 0 60px halo at 30% violet. It sits behind a card or in a section corner and may bleed past the container. Two per screen at most.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Deep Space | #0a0a1f | 页面底 |
| 1 | Glass Panel | rgba(255,255,255,0.06) | 卡片(半透明) |
| 2 | Spectrum | linear-gradient 3+ stops | 渐变元素 |
0 0 40px rgba(168,85,247,0.35)0 0 32px rgba(255,0,128,0.30)Foil, prisms, laminate, fluid and crystal, all carrying multi-hue iridescence. A photo may take a 30% rainbow gradient overlay in blend mode. No monochrome photography, white backgrounds or grey illustration.
Capped at 1160px with 24px padding, sections 112px apart. Elements may overlap widely with orbs bleeding out. No two adjacent elements may both be flat solid blocks — the rule keeps a spectrum present across the page.
QUICK COLOR REFERENCE:
#ffffff#0a0a1f#a855f7#ff0080#00d4ff#ffd700EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-deep-space: #0a0a1f;
--color-deep-violet: #1a0b2e;
--color-hologram-violet: #a855f7;
--color-magenta: #ff0080;
--color-cyan: #00d4ff;
--color-gold: #ffd700;
--color-neon-green: #00ff88;
/* Typography — Font Families */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 52px;
--leading-display: 1.1;
--tracking-display: -0.02em;
--text-heading: 36px;
--leading-heading: 1.2;
--text-subheading: 24px;
--leading-subheading: 1.3;
--text-body-lg: 17px;
--leading-body-lg: 1.55;
--text-body: 14px;
--leading-body: 1.6;
--text-label: 12px;
--leading-label: 1.4;
--tracking-label: 0.14em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 8px;
--spacing-8: 8px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Layout */
--page-max-width: 1160px;
--section-gap: 112px;
--card-padding: 24px;
--element-gap: 16px;
--density: comfortable;
/* Border Radius */
--radius-cards: 20px;
--radius-buttons: 999px;
--radius-inputs: 16px;
/* Surfaces */
--surface-deep-space: #0a0a1f;
--surface-glass-panel: rgba(255,255,255,0.06);
--surface-spectrum: linear-gradient 3+ stops;
}
Component Templates
FAQ
/* Holographic 全局样式 */
:root {
--holo-pink: #ff0080;
--holo-orange: #ff6b00;
--holo-gold: #ffd700;
--holo-green: #00ff88;
--holo-cyan: #00d4ff;
--holo-indigo: #6366f1;
--holo-purple: #a855f7;
}
@keyframes holo-gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes holo-shimmer {
0% { transform: translateX(-100%) rotate(15deg); }
100% { transform: translateX(200%) rotate(15deg); }
}
@keyframes holo-rotate {
0% { filter: hue-rotate(0deg); }
100% { filter: hue-rotate(360deg); }
}
/* 全息渐变背景 */
.holo-gradient {
background: linear-gradient(
135deg,
var(--holo-pink),
var(--holo-orange),
var(--holo-gold),
var(--holo-green),
var(--holo-cyan),
var(--holo-indigo),
var(--holo-purple)
);
background-size: 200% 200%;
animation: holo-gradient-shift 6s ease infinite;
}
/* 全息微光覆盖 */
.holo-shimmer::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
105deg,
transparent 40%,
rgba(255, 255, 255, 0.15) 45%,
rgba(255, 255, 255, 0.05) 55%,
transparent 60%
);
animation: holo-shimmer 3s ease-in-out infinite;
}
.holographic-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(168, 85, 247, 0.08);
}
.holographic-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.holographic-animate-in {
animation: holographic-fade-in 0.5s ease-out both;
}Related Styles
Explore these styles for ready-made tokens and components.
Holographic and Acid Graphics sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Holographic | Acid Graphics |
|---|---|---|
| Primary color | #a855f7 | #39ff14 |
| Secondary color | #0a0a1f | #0a0a0a |
| Best for | holographic / iridescent / holo foil | acid graphics / acid design / psychedelic design |
| Unique tags | — | — |
Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.