StyleKit

Holographic

全息渐变

Rate this style

Rainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience.

holographiciridescentholo foilrainbow gradientprismatic effectcolor spectrumconic gradientpearlescentcolor-shiftingY2K aestheticshimmer effect

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

Holographic as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Holographic — Style Reference

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.

Colors

NameValueTokenRole
Deep Space#0a0a1f--color-deep-spaceThe page ground — dark enough to float every iridescence above it.
Deep Violet#1a0b2e--color-deep-violetSecondary panel grounds, more violet than the deep space.
Hologram Violet#a855f7--color-hologram-violetThe gradient's anchor and the brand tone, most often where a button begins.
Magenta#ff0080--color-magentaThe spectrum's warm end, carrying the gradient from violet into cyan.
Cyan#00d4ff--color-cyanThe spectrum's cool end and the brightest stop in the gradient.
Gold#ffd700--color-goldHighlights and foil flare — appearing only inside gradients, never as a fill.
Neon Green#00ff88--color-neon-greenThe spectrum's fifth stop, giving the gradient an irregular edge.

Typography

Inter — The only face. Headlines use gradient text via background-clip, with labels uppercase.
  • Substitute: -apple-system, 'Helvetica Neue', system-ui, sans-serif
  • Weights: 400, 500, 700
  • Sizes: 12, 14, 17, 24, 36, 52
  • Line height: 1.1 (display), 1.2 (headings), 1.6 (body)
  • Letter spacing: -0.02em on display, 0.14em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—70052px1.1-0.02em--text-display
heading—70036px1.2—--text-heading
subheading—50024px1.3—--text-subheading
body-lg—40017px1.55—--text-body-lg
body—40014px1.6—--text-body
label—50012px1.40.14em--text-label

Spacing & Layout

Base unit: 8px Density: comfortable

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
Border Radius
ElementValue
cards20px
buttons999px
inputs16px
  • Page max-width: 1160px
  • Section gap: 112px
  • Card padding: 24px
  • Element gap: 16px

Components

Spectrum Button

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.

  • Sizes: padding 12px 28px; label 15px
  • States: hover: background-position left→right; active: scale 0.98
Prism Card

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.

Spectrum Text

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.

Glass Field

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.

Iridescent Orb

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.

Do's and Don'ts

Do
  • Every element carries a gradient of three or more stops
  • Ground in deep violet or navy
  • Use Spectrum Shift to flow the gradient laterally
  • Any sharp corner needs a glow
  • Focus rings carry a deep-space offset
  • Keep saturation high enough for iridescence
Don't
  • No flat solid blocks without a gradient
  • No light or white grounds
  • No desaturated or muted color
  • Do not leave a sharp corner unlit
  • Never two or more non-gradient elements in a row
  • Never let a focus ring disappear on the dark

Surfaces

LevelNameValuePurpose
0Deep Space#0a0a1f页面底
1Glass Panelrgba(255,255,255,0.06)卡片(半透明)
2Spectrumlinear-gradient 3+ stops渐变元素

Elevation

  • Iridescent glow: 0 0 40px rgba(168,85,247,0.35)
  • Magenta glow: 0 0 32px rgba(255,0,128,0.30)

Imagery

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.

Layout

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.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #ffffff
  • background: #0a0a1f
  • violet: #a855f7
  • magenta: #ff0080
  • cyan: #00d4ff
  • gold: #ffd700

EXAMPLE COMPONENT PROMPTS:

  1. Build a holographic button: background linear-gradient(90deg, #a855f7, #ff0080, #00d4ff), background-size 200% auto, white 15px/700 text, fully rounded, 12px 28px padding, box-shadow 0 0 32px rgba(255,0,128,0.3). Hover moves background-position from left to right over 1.2s ease; active scales 0.98. The page ground is #0a0a1f, and no two adjacent elements may both be flat solids.

Similar Brands

  • Modern Gradient — Both center on gradients, though holographic makes them flow on interaction and bans flat elements
  • Shader Gradient — Both iridescent, though holographic uses CSS gradients with position shifts while a shader computes live

Quick Start


: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;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Holographic — Frequently Asked Questions

What is the Holographic design style?
Rainbow spectrum iridescent gradient aesthetics simulating holographic prismatic refraction and dynamic light effects for an otherworldly iridescent experience. Its core principle: Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.
What colors does Holographic use?
Holographic uses #a855f7 as its primary color and #0a0a1f as its secondary color, with accent colors #ff0080, #ffd700, #00d4ff, #00ff88. Every hex value can be copied from the palette on this page.
How do I apply Holographic correctly?
Key practices: Use multi-color gradient backgrounds (linear-gradient with 3+ color stops). Apply background-size animation for moving gradient effects. Use semi-transparent cards over dark cosmic backgrounds.
What are common mistakes with Holographic?
Avoid: Don't use flat solid colors without gradient. Don't use light/white backgrounds (kills the holographic effect). Don't use muted or desaturated colors.
How do I prompt AI to generate Holographic UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: holographic, iridescent, holo foil, rainbow gradient.
Global Styles

Global CSS

css
/* 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

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.

AttributeHolographicAcid Graphics
Primary color#a855f7#39ff14
Secondary color#0a0a1f#0a0a0a
Best forholographic / iridescent / holo foilacid graphics / acid design / psychedelic design
Unique tags——
Design Philosophy

Holographic simulates the prismatic beauty of holographic foil -- rainbow spectrum gradients that shift and flow with viewing angle, creating an otherworldly iridescent experience.