Free CSS template · Gallery

Photo Gallery Orange

A warm, sunset-toned photo gallery for work with energy.

A modern 2026 rebuild of a long-running CSS Crème template: responsive, accessible, and framework-free. Preview it below, then copy the starter.

photogalleryorange.example.com

This is the starter file below, running. Not a screenshot, and not a mockup of a layout you would have to build yourself: what you see is what the copy button hands you.

Design tokens

bg#1A120C
surface#281A10
primary#F0892B
accent#F4C04E
muted#B49684
text#FBEFE4

Type Inter · browse palettes →

Install the theme

Building with shadcn/ui? This template's color system is published as a real theme — light and dark, OKLCH tokens, contrast checked. One command drops it into your project.

npx shadcn@latest add https://csscreme.com/r/t/photo_gallery_orange.json
globals.css — CSS variables
:root {
  --background: oklch(98.9% 0.001 17.2);
  --foreground: oklch(27.3% 0.023 66.6);
  --card: oklch(97.4% 0.002 67.8);
  --card-foreground: oklch(27.3% 0.023 66.6);
  --popover: oklch(97.4% 0.002 67.8);
  --popover-foreground: oklch(27.3% 0.023 66.6);
  --primary: oklch(72.7% 0.160 57.3);
  --primary-foreground: oklch(15.2% 0.009 285.3);
  --secondary: oklch(98.0% 0.002 67.8);
  --secondary-foreground: oklch(27.3% 0.023 66.6);
  --muted: oklch(98.0% 0.002 67.8);
  --muted-foreground: oklch(54.2% 0.016 53.2);
  --accent: oklch(83.4% 0.141 83.9);
  --accent-foreground: oklch(15.2% 0.009 285.3);
  --destructive: oklch(62.6% 0.193 23.0);
  --destructive-foreground: oklch(15.2% 0.009 285.3);
  --border: oklch(83.9% 0.005 48.7);
  --input: oklch(83.9% 0.005 48.7);
  --ring: oklch(72.7% 0.160 57.3);
  --chart-1: oklch(72.7% 0.160 57.3);
  --chart-2: oklch(83.4% 0.141 83.9);
  --chart-3: oklch(90.4% 0.201 118.2);
  --chart-4: oklch(62.1% 0.227 17.9);
  --chart-5: oklch(78.0% 0.146 70.2);
  --sidebar: oklch(98.3% 0.002 67.8);
  --sidebar-foreground: oklch(27.3% 0.023 66.6);
  --sidebar-primary: oklch(72.7% 0.160 57.3);
  --sidebar-primary-foreground: oklch(15.2% 0.009 285.3);
  --sidebar-accent: oklch(98.0% 0.002 67.8);
  --sidebar-accent-foreground: oklch(27.3% 0.023 66.6);
  --sidebar-border: oklch(83.9% 0.005 48.7);
  --sidebar-ring: oklch(72.7% 0.160 57.3);
  --radius: 12px;
  --shadow-2xs: 0 1px 2px 0px rgb(47 37 27 / 0.05);
  --shadow-xs: 0 1px 3px 0px rgb(47 37 27 / 0.06);
  --shadow-sm: 0 1px 3px 0px rgb(47 37 27 / 0.08), 0 1px 2px -1px rgb(47 37 27 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(47 37 27 / 0.09), 0 2px 4px -2px rgb(47 37 27 / 0.09);
  --shadow-lg: 0 10px 15px -3px rgb(47 37 27 / 0.1), 0 4px 6px -4px rgb(47 37 27 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(47 37 27 / 0.12), 0 8px 10px -6px rgb(47 37 27 / 0.12);
  --shadow-2xl: 0 25px 50px -12px rgb(47 37 27 / 0.22);
}

.dark {
  --background: oklch(19.0% 0.018 58.3);
  --foreground: oklch(95.9% 0.020 65.1);
  --card: oklch(23.3% 0.029 56.3);
  --card-foreground: oklch(95.9% 0.020 65.1);
  --popover: oklch(23.3% 0.029 56.3);
  --popover-foreground: oklch(95.9% 0.020 65.1);
  --primary: oklch(72.7% 0.160 57.3);
  --primary-foreground: oklch(15.2% 0.009 285.3);
  --secondary: oklch(21.8% 0.024 54.7);
  --secondary-foreground: oklch(95.9% 0.020 65.1);
  --muted: oklch(21.8% 0.024 54.7);
  --muted-foreground: oklch(69.5% 0.044 52.7);
  --accent: oklch(83.4% 0.141 83.9);
  --accent-foreground: oklch(15.2% 0.009 285.3);
  --destructive: oklch(62.6% 0.193 23.0);
  --destructive-foreground: oklch(15.2% 0.009 285.3);
  --border: oklch(34.9% 0.025 54.4);
  --input: oklch(34.9% 0.025 54.4);
  --ring: oklch(72.7% 0.160 57.3);
  --chart-1: oklch(72.7% 0.160 57.3);
  --chart-2: oklch(83.4% 0.141 83.9);
  --chart-3: oklch(90.4% 0.201 118.2);
  --chart-4: oklch(62.1% 0.227 17.9);
  --chart-5: oklch(78.0% 0.146 70.2);
  --sidebar: oklch(21.2% 0.023 57.1);
  --sidebar-foreground: oklch(95.9% 0.020 65.1);
  --sidebar-primary: oklch(72.7% 0.160 57.3);
  --sidebar-primary-foreground: oklch(15.2% 0.009 285.3);
  --sidebar-accent: oklch(21.8% 0.024 54.7);
  --sidebar-accent-foreground: oklch(95.9% 0.020 65.1);
  --sidebar-border: oklch(34.9% 0.025 54.4);
  --sidebar-ring: oklch(72.7% 0.160 57.3);
  --shadow-2xs: 0 1px 2px 0px rgb(251 239 228 / 0.16);
  --shadow-xs: 0 1px 3px 0px rgb(251 239 228 / 0.18);
  --shadow-sm: 0 1px 3px 0px rgb(251 239 228 / 0.22), 0 1px 2px -1px rgb(251 239 228 / 0.22);
  --shadow-md: 0 4px 6px -1px rgb(251 239 228 / 0.26), 0 2px 4px -2px rgb(251 239 228 / 0.26);
  --shadow-lg: 0 10px 15px -3px rgb(251 239 228 / 0.3), 0 4px 6px -4px rgb(251 239 228 / 0.3);
  --shadow-xl: 0 20px 25px -5px rgb(251 239 228 / 0.34), 0 8px 10px -6px rgb(251 239 228 / 0.34);
  --shadow-2xl: 0 25px 50px -12px rgb(251 239 228 / 0.45);
}

Grab the starter

A complete, responsive single-file page themed to this template. Copy it into an index.html and open it. That's the whole setup.

index.html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Photo Gallery Orange</title>
  <meta name="description" content="A warm, sunset-toned photo gallery for work with energy.">
  <style>
:root {
  --bg: #1A120C;
  --surface: #281A10;
  --primary: #F0892B;
  --accent: #F4C04E;
  --text: #FBEFE4;
  --muted: #B49684;
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --radius: 14px;
  --measure: 60ch;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1100px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* Header */
.site-head { display: flex; align-items: center; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; }
.brand span { display: block; width: 26px; height: 26px; border-radius: 8px; background: var(--primary); }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: .95rem; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 12px 22px; border-radius: var(--radius); background: var(--primary); color: var(--bg);
  text-decoration: none; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.btn:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Type */
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.04; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; text-wrap: balance; }
h3 { font-size: 1.1rem; margin: 0 0 6px; letter-spacing: -.01em; }
p { margin: 14px 0 0; color: var(--muted); max-width: var(--measure); }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin: 0; }
.lead { font-size: 1.12rem; }

/* Sections */
section { padding-block: clamp(48px, 8vw, 88px); }
.sec-head { margin-bottom: 32px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin-top: 8px; font-size: .95rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px; display: flex; flex-wrap: wrap;
  gap: 12px 24px; align-items: center; color: var(--muted); font-size: .9rem; }
.site-foot .nav { margin-left: auto; }
@media (max-width: 640px) { .site-foot .nav { display: flex; margin-left: 0; } }

/* Gallery */
.tiles { columns: 3 220px; column-gap: 14px; }
.tile { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); }
.tile .shot { background: linear-gradient(135deg,
  color-mix(in srgb, var(--primary) 34%, var(--surface)),
  color-mix(in srgb, var(--accent) 34%, var(--surface))); }
.tile figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); }
  </style>
</head>
<body>
  <header class="site-head wrap">
    <a class="brand" href="#"><span></span>Photo Gallery Orange</a>
    <nav class="nav">
      <a href="#work">Work</a>
      <a href="#about">About</a>
      <a href="#contact">Contact</a>
    </nav>
    <a class="btn" href="#contact">Get in touch</a>
  </header>
  <main>
    <section class="wrap">
      <p class="eyebrow">Selected work</p>
      <h1>Photo Gallery Orange</h1>
      <p class="lead">A warm, sunset-toned photo gallery for work with energy.</p>
    </section>
    <section class="wrap" id="work">
      <div class="tiles">
        <figure class="tile"><div class="shot" style="height:200px"></div><figcaption>Harbour, early</figcaption></figure>
        <figure class="tile"><div class="shot" style="height:140px"></div><figcaption>Studio floor</figcaption></figure>
        <figure class="tile"><div class="shot" style="height:240px"></div><figcaption>The long room</figcaption></figure>
        <figure class="tile"><div class="shot" style="height:170px"></div><figcaption>Print test, second pass</figcaption></figure>
        <figure class="tile"><div class="shot" style="height:130px"></div><figcaption>Offcuts</figcaption></figure>
        <figure class="tile"><div class="shot" style="height:210px"></div><figcaption>North light</figcaption></figure>
      </div>
    </section>
    <section class="wrap" id="about">
      <div class="sec-head"><h2>About the work</h2><p>A short note on how it is made, and what it is for.</p></div>
      <div class="grid">
        <div class="card"><h3>Shot on film</h3><p>Scanned flat, graded once, never composited.</p></div>
        <div class="card"><h3>Printed to order</h3><p>Each print is made when it is bought, then signed.</p></div>
        <div class="card"><h3>Commissions open</h3><p>Two slots a month, usually booked a season ahead.</p></div>
      </div>
    </section>
  </main>
  <footer class="site-foot wrap">
    <span>&copy; 2026 Photo Gallery Orange. Built on a free CSS Cr&egrave;me template.</span>
    <nav class="nav">
      <a href="#">Privacy</a>
      <a href="#">Terms</a>
    </nav>
  </footer>
</body>
</html>
You receive
One file, 5.8 KB, 123 lines
Dependencies
None. No build step, no framework, no fonts to host
Sign-up
None. Nothing to create, nothing to verify
Licence
Personal and commercial use. Not for redistribution or resale as a competing collection. Full terms

About the Photo Gallery Orange template

Photo Gallery Orange began as one of CSS Crème's most-linked free templates. We rebuilt it from scratch for 2026: modern, responsive CSS with no framework to untangle, custom properties for every color so a rebrand takes minutes, and markup that stays readable months later.

What you actually get. One self-contained HTML file: the page above, its stylesheet inlined, no build step, no dependencies and nothing to install. Header, hero, the sections you can see, and a footer, laid out responsively down to a phone. Every colour is one of six custom properties, so a rebrand is one block of CSS. The preview is that file running in a frame on this page, not a picture of it and not a mockup of a layout you would have to build yourself. Copy it and you have what you see.

Want to push it further? Pull a different palette, round the corners in the border-radius tool, or see the system decoded in a breakdown.

More gallery templates: Photo Gallery, Photo Gallery, Photo Gallery Black.