SHARE
    TWEET
    ferrybig

    Example color scheme with Maroon, yellow and green

    May 17th, 2026
    5,522
    0
    Never
    2
    Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
    text 12.32 KB | None | 0 0
    1. <!doctype html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <title>Palette Demo Site</title>
    7. <style>
    8. :root {
    9. --deep-red-100: oklch(0.97 0.02 29);
    10. --deep-red-200: oklch(0.92 0.05 29);
    11. --deep-red-300: oklch(0.86 0.1 29);
    12. --deep-red-400: oklch(0.8 0.14 29);
    13. --deep-red-500: oklch(0.72 0.17 29);
    14. --deep-red-600: oklch(0.63 0.14 29);
    15. --deep-red-700: oklch(0.54 0.12 29);
    16. --deep-red-800: oklch(0.42 0.1 29);
    17. --deep-red-900: oklch(0.31 0.07 29);
    18. --mustard-100: oklch(0.96 0.02 90);
    19. --mustard-200: oklch(0.92 0.05 90);
    20. --mustard-300: oklch(0.85 0.1 90);
    21. --mustard-400: oklch(0.79 0.14 90);
    22. --mustard-500: oklch(0.71 0.17 90);
    23. --mustard-600: oklch(0.61 0.14 90);
    24. --mustard-700: oklch(0.52 0.12 90);
    25. --mustard-800: oklch(0.41 0.1 90);
    26. --mustard-900: oklch(0.3 0.07 90);
    27. --green-100: oklch(0.96 0.02 151);
    28. --green-200: oklch(0.91 0.05 151);
    29. --green-300: oklch(0.84 0.1 151);
    30. --green-400: oklch(0.77 0.14 151);
    31. --green-500: oklch(0.69 0.17 151);
    32. --green-600: oklch(0.6 0.14 151);
    33. --green-700: oklch(0.51 0.12 151);
    34. --green-800: oklch(0.4 0.1 151);
    35. --green-900: oklch(0.29 0.07 151);
    36. --bg: var(--mustard-100);
    37. --surface: rgba(255,255,255,0.72);
    38. --surface-strong: white;
    39. --text: var(--deep-red-900);
    40. --text-soft: color-mix(in oklab, var(--deep-red-900) 72%, white);
    41. --border: color-mix(in oklab, var(--deep-red-300) 35%, white);
    42. --primary: var(--green-600);
    43. --primary-hover: var(--green-700);
    44. --secondary: var(--mustard-400);
    45. --accent: var(--deep-red-500);
    46. --shadow: color-mix(in oklab, var(--deep-red-900) 10%, transparent);
    47. }
    48. * { box-sizing: border-box; }
    49. body {
    50. margin: 0;
    51. font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    52. color: var(--text);
    53. background:
    54. radial-gradient(circle at top left, var(--mustard-200), transparent 30%),
    55. radial-gradient(circle at bottom right, var(--green-100), transparent 30%),
    56. linear-gradient(180deg, var(--mustard-100), #fff);
    57. }
    58. a { color: inherit; text-decoration: none; }
    59. .container {
    60. width: min(1120px, calc(100% - 2rem));
    61. margin: 0 auto;
    62. }
    63. .nav {
    64. position: sticky;
    65. top: 0;
    66. backdrop-filter: blur(12px);
    67. background: rgba(255,255,255,0.65);
    68. border-bottom: 1px solid var(--border);
    69. z-index: 10;
    70. }
    71. .nav-inner {
    72. display: flex;
    73. align-items: center;
    74. justify-content: space-between;
    75. padding: 1rem 0;
    76. gap: 1rem;
    77. }
    78. .brand {
    79. font-weight: 800;
    80. letter-spacing: 0.02em;
    81. color: var(--deep-red-800);
    82. }
    83. .nav-links {
    84. display: flex;
    85. gap: 1rem;
    86. color: var(--text-soft);
    87. font-weight: 600;
    88. }
    89. .btn {
    90. display: inline-flex;
    91. align-items: center;
    92. justify-content: center;
    93. border: none;
    94. border-radius: 999px;
    95. padding: 0.85rem 1.2rem;
    96. font: inherit;
    97. font-weight: 700;
    98. cursor: pointer;
    99. transition: 160ms ease;
    100. }
    101. .btn-primary {
    102. background: var(--primary);
    103. color: white;
    104. box-shadow: 0 10px 24px var(--shadow);
    105. }
    106. .btn-primary:hover {
    107. background: var(--primary-hover);
    108. transform: translateY(-1px);
    109. }
    110. .btn-secondary {
    111. background: var(--surface-strong);
    112. color: var(--deep-red-800);
    113. border: 1px solid var(--border);
    114. }
    115. .hero {
    116. padding: 4rem 0 3rem;
    117. }
    118. .hero-grid {
    119. display: grid;
    120. grid-template-columns: 1.2fr 0.8fr;
    121. gap: 2rem;
    122. align-items: center;
    123. }
    124. .eyebrow {
    125. display: inline-block;
    126. font-size: 0.8rem;
    127. text-transform: uppercase;
    128. letter-spacing: 0.12em;
    129. font-weight: 800;
    130. color: var(--green-700);
    131. margin-bottom: 1rem;
    132. }
    133. h1 {
    134. margin: 0 0 1rem;
    135. font-size: clamp(2.4rem, 6vw, 4.6rem);
    136. line-height: 0.95;
    137. color: var(--deep-red-900);
    138. }
    139. .hero p {
    140. font-size: 1.05rem;
    141. color: var(--text-soft);
    142. max-width: 58ch;
    143. margin-bottom: 1.5rem;
    144. }
    145. .hero-actions {
    146. display: flex;
    147. gap: 0.75rem;
    148. flex-wrap: wrap;
    149. margin-bottom: 1.25rem;
    150. }
    151. .hero-stats {
    152. display: flex;
    153. gap: 1rem;
    154. flex-wrap: wrap;
    155. color: var(--text-soft);
    156. font-weight: 600;
    157. }
    158. .mockup {
    159. background: linear-gradient(180deg, var(--surface), var(--surface-strong));
    160. border: 1px solid var(--border);
    161. border-radius: 28px;
    162. padding: 1.2rem;
    163. box-shadow: 0 25px 60px var(--shadow);
    164. }
    165. .mockup-header {
    166. display: flex;
    167. gap: 0.5rem;
    168. margin-bottom: 1rem;
    169. }
    170. .dot {
    171. width: 12px;
    172. height: 12px;
    173. border-radius: 50%;
    174. background: var(--deep-red-300);
    175. }
    176. .dot:nth-child(2) { background: var(--mustard-400); }
    177. .dot:nth-child(3) { background: var(--green-400); }
    178. .mockup-card {
    179. background: white;
    180. border: 1px solid var(--border);
    181. border-radius: 18px;
    182. padding: 1rem;
    183. margin-bottom: 0.8rem;
    184. }
    185. .pill-row {
    186. display: flex;
    187. gap: 0.5rem;
    188. flex-wrap: wrap;
    189. margin-top: 0.8rem;
    190. }
    191. .pill {
    192. padding: 0.35rem 0.7rem;
    193. border-radius: 999px;
    194. font-size: 0.8rem;
    195. font-weight: 700;
    196. }
    197. .pill.red { background: var(--deep-red-100); color: var(--deep-red-800); }
    198. .pill.yellow { background: var(--mustard-200); color: var(--mustard-900); }
    199. .pill.green { background: var(--green-200); color: var(--green-900); }
    200. .section {
    201. padding: 2rem 0;
    202. }
    203. .section h2 {
    204. margin: 0 0 0.5rem;
    205. font-size: 2rem;
    206. color: var(--deep-red-800);
    207. }
    208. .section p.lead {
    209. margin: 0 0 1.5rem;
    210. color: var(--text-soft);
    211. max-width: 65ch;
    212. }
    213. .cards {
    214. display: grid;
    215. grid-template-columns: repeat(3, 1fr);
    216. gap: 1rem;
    217. }
    218. .card {
    219. background: var(--surface);
    220. backdrop-filter: blur(10px);
    221. border: 1px solid var(--border);
    222. border-radius: 22px;
    223. padding: 1.25rem;
    224. box-shadow: 0 14px 30px var(--shadow);
    225. }
    226. .card-icon {
    227. width: 44px;
    228. height: 44px;
    229. border-radius: 14px;
    230. display: grid;
    231. place-items: center;
    232. margin-bottom: 0.9rem;
    233. font-weight: 800;
    234. color: white;
    235. }
    236. .card:nth-child(1) .card-icon { background: var(--deep-red-500); }
    237. .card:nth-child(2) .card-icon { background: var(--mustard-600); }
    238. .card:nth-child(3) .card-icon { background: var(--green-600); }
    239. .card h3 {
    240. margin: 0 0 0.5rem;
    241. color: var(--deep-red-900);
    242. }
    243. .card p {
    244. margin: 0;
    245. color: var(--text-soft);
    246. }
    247. .banner {
    248. margin-top: 2rem;
    249. background: linear-gradient(135deg, var(--deep-red-700), var(--deep-red-500));
    250. color: white;
    251. border-radius: 24px;
    252. padding: 1.5rem;
    253. display: flex;
    254. justify-content: space-between;
    255. gap: 1rem;
    256. align-items: center;
    257. box-shadow: 0 18px 40px var(--shadow);
    258. }
    259. .banner p {
    260. margin: 0.4rem 0 0;
    261. color: rgba(255,255,255,0.88);
    262. }
    263. .footer {
    264. padding: 3rem 0;
    265. color: var(--text-soft);
    266. font-size: 0.95rem;
    267. }
    268. @media (max-width: 900px) {
    269. .hero-grid,
    270. .cards {
    271. grid-template-columns: 1fr;
    272. }
    273. .nav-inner {
    274. flex-direction: column;
    275. align-items: flex-start;
    276. }
    277. .banner {
    278. flex-direction: column;
    279. align-items: flex-start;
    280. }
    281. }
    282. </style>
    283. </head>
    284. <body>
    285. <header class="nav">
    286. <div class="container nav-inner">
    287. <div class="brand">Acorn Studio</div>
    288. <nav class="nav-links">
    289. <a href="#">Work</a>
    290. <a href="#">Pricing</a>
    291. <a href="#">About</a>
    292. </nav>
    293. </div>
    294. </header>
    295. <main class="container">
    296. <section class="hero">
    297. <div class="hero-grid">
    298. <div>
    299. <div class="eyebrow">Palette preview website</div>
    300. <h1>Design with warm contrast and soft natural tones</h1>
    301. <p>
    302. This demo uses your deep red, mustard, and green palette in a
    303. full landing page so you can judge the mood, readability, and
    304. balance of the colors in a realistic layout.
    305. </p>
    306. <div class="hero-actions">
    307. <button class="btn btn-primary">Get started</button>
    308. <button class="btn btn-secondary">See examples</button>
    309. </div>
    310. <div class="hero-stats">
    311. <span>Warm and earthy</span>
    312. <span>•</span>
    313. <span>Distinct accent colors</span>
    314. <span>•</span>
    315. <span>Good for editorial or artisan brands</span>
    316. </div>
    317. </div>
    318. <div class="mockup">
    319. <div class="mockup-header">
    320. <div class="dot"></div>
    321. <div class="dot"></div>
    322. <div class="dot"></div>
    323. </div>
    324. <div class="mockup-card">
    325. <strong style="color: var(--deep-red-800);">Seasonal collection</strong>
    326. <p style="color: var(--text-soft); margin: 0.5rem 0 0;">
    327. Muted warmth with organic accents and soft UI depth.
    328. </p>
    329. <div class="pill-row">
    330. <span class="pill red">Editorial</span>
    331. <span class="pill yellow">Warm</span>
    332. <span class="pill green">Natural</span>
    333. </div>
    334. </div>
    335. <div class="mockup-card">
    336. <strong style="color: var(--deep-red-800);">Color balance</strong>
    337. <div style="display:flex; gap:0.5rem; margin-top:0.8rem;">
    338. <div style="height:14px; flex:3; background:var(--deep-red-500); border-radius:999px;"></div>
    339. <div style="height:14px; flex:2; background:var(--mustard-500); border-radius:999px;"></div>
    340. <div style="height:14px; flex:2; background:var(--green-500); border-radius:999px;"></div>
    341. </div>
    342. </div>
    343. <div class="mockup-card" style="background: var(--green-100);">
    344. <strong style="color: var(--green-900);">Looks especially nice for:</strong>
    345. <p style="color: var(--green-800); margin: 0.5rem 0 0;">
    346. food brands, craft products, blogs, eco startups, and boutique shops.
    347. </p>
    348. </div>
    349. </div>
    350. </div>
    351. </section>
    352. <section class="section">
    353. <h2>Feature cards</h2>
    354. <p class="lead">
    355. This section helps you judge whether the palette works for content-heavy UI cards and icon accents.
    356. </p>
    357. <div class="cards">
    358. <article class="card">
    359. <div class="card-icon">A</div>
    360. <h3>Bold headline color</h3>
    361. <p>
    362. The deep red works well for strong typography and gives the page a slightly premium, earthy feel.
    363. </p>
    364. </article>
    365. <article class="card">
    366. <div class="card-icon">B</div>
    367. <h3>Warm backgrounds</h3>
    368. <p>
    369. The mustard shades are good as soft backgrounds, highlights, or subtle branding surfaces.
    370. </p>
    371. </article>
    372. <article class="card">
    373. <div class="card-icon">C</div>
    374. <h3>Healthy accents</h3>
    375. <p>
    376. The green shades give a natural accent that pairs nicely with the warmer red and yellow tones.
    377. </p>
    378. </article>
    379. </div>
    380. <div class="banner">
    381. <div>
    382. <strong style="font-size: 1.15rem;">Overall impression</strong>
    383. <p>
    384. The palette feels warm, organic, and distinctive — not corporate blue, more handcrafted and welcoming.
    385. </p>
    386. </div>
    387. <button class="btn btn-secondary">Try this palette</button>
    388. </div>
    389. </section>
    390. <footer class="footer">
    391. Palette demo using your custom OKLCH colors.
    392. </footer>
    393. </main>
    394. </body>
    395. </html>
    Advertisement
    Comments
    • User was banned
      • User was banned
    Add Comment
    Please, Sign In to add comment
    Public Pastes
    We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
    Not a member of Pastebin yet?
    Sign Up, it unlocks many cool features!

    AltStyle によって変換されたページ (->オリジナル) /