Spaces:
Running
Running
| <html lang="en" class="h-full"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Mystical Palette Explorer</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0f9ff', | |
| 100: '#e0f2fe', | |
| 200: '#bae6fd', | |
| 300: '#7dd3fc', | |
| 400: '#38bdf8', | |
| 500: '#0ea5e9', | |
| 600: '#0284c7', | |
| 700: '#0369a1', | |
| 800: '#075985', | |
| 900: '#0c4a6e', | |
| }, | |
| secondary: { | |
| 50: '#f5f3ff', | |
| 100: '#ede9fe', | |
| 200: '#ddd6fe', | |
| 300: '#c4b5fd', | |
| 400: '#a78bfa', | |
| 500: '#8b5cf6', | |
| 600: '#7c3aed', | |
| 700: '#6d28d9', | |
| 800: '#5b21b6', | |
| 900: '#4c1d95', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: linear-gradient(to bottom right, #f8fafc, #f1f5f9); | |
| } | |
| .gradient-text { | |
| background-clip: text; | |
| -webkit-background-clip: text; | |
| color: transparent; | |
| background-image: linear-gradient(to right, #0ea5e9, #8b5cf6); | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-full flex flex-col"> | |
| <header class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <h1 class="text-3xl font-bold gradient-text">Mystical Palette Explorer</h1> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="#" class="text-primary-600 font-medium hover:text-primary-800 transition">Colors</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900 transition">Gradients</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900 transition">Palettes</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900 transition">About</a> | |
| </nav> | |
| <button class="md:hidden text-gray-600"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <main class="flex-grow"> | |
| <section class="py-20 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto text-center"> | |
| <h2 class="text-4xl md:text-6xl font-bold mb-6 text-gray-900">Discover the Magic of <span class="gradient-text">Colors</span></h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto mb-12"> | |
| Explore beautiful color combinations, gradients and palettes that will inspire your next creative project. | |
| </p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <button class="px-8 py-3 bg-primary-600 text-white font-medium rounded-lg hover:bg-primary-700 transition shadow-md hover:shadow-lg"> | |
| Explore Colors | |
| </button> | |
| <button class="px-8 py-3 bg-white text-primary-600 font-medium rounded-lg hover:bg-gray-50 transition border border-primary-600 shadow-md hover:shadow-lg"> | |
| Generate Palette | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h3 class="text-3xl font-bold text-gray-900 mb-4">Featured Color Combinations</h3> | |
| <p class="text-gray-600 max-w-2xl mx-auto"> | |
| Handpicked color palettes that work perfectly together | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition transform hover:-translate-y-1 hover:shadow-xl"> | |
| <div class="h-48 flex"> | |
| <div class="flex-1 bg-primary-500"></div> | |
| <div class="flex-1 bg-secondary-500"></div> | |
| <div class="flex-1 bg-primary-300"></div> | |
| <div class="flex-1 bg-secondary-300"></div> | |
| </div> | |
| <div class="p-6"> | |
| <h4 class="text-xl font-semibold text-gray-900 mb-2">Ocean Breeze</h4> | |
| <p class="text-gray-600">Cool tones inspired by tropical waters</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition transform hover:-translate-y-1 hover:shadow-xl"> | |
| <div class="h-48 flex"> | |
| <div class="flex-1 bg-yellow-400"></div> | |
| <div class="flex-1 bg-red-500"></div> | |
| <div class="flex-1 bg-pink-400"></div> | |
| <div class="flex-1 bg-purple-500"></div> | |
| </div> | |
| <div class="p-6"> | |
| <h4 class="text-xl font-semibold text-gray-900 mb-2">Sunset Glow</h4> | |
| <p class="text-gray-600">Warm colors of a beautiful sunset</p> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition transform hover:-translate-y-1 hover:shadow-xl"> | |
| <div class="h-48 flex"> | |
| <div class="flex-1 bg-green-500"></div> | |
| <div class="flex-1 bg-teal-400"></div> | |
| <div class="flex-1 bg-emerald-500"></div> | |
| <div class="flex-1 bg-lime-400"></div> | |
| </div> | |
| <div class="p-6"> | |
| <h4 class="text-xl font-semibold text-gray-900 mb-2">Forest Canopy</h4> | |
| <p class="text-gray-600">Natural greens from the wilderness</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="py-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h3 class="text-3xl font-bold text-gray-900 mb-4">Color Psychology</h3> | |
| <p class="text-gray-600 max-w-2xl mx-auto"> | |
| Understand what different colors represent and how they affect emotions | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <div class="bg-primary-100 rounded-lg p-6"> | |
| <div class="w-16 h-16 rounded-full bg-primary-500 flex items-center justify-center mb-4 mx-auto"> | |
| <i data-feather="droplet" class="text-white w-8 h-8"></i> | |
| </div> | |
| <h4 class="text-xl font-semibold text-center mb-2 text-gray-900">Primary Blue</h4> | |
| <p class="text-gray-700 text-center"> | |
| Represents trust, calmness, and reliability. Often used in corporate designs. | |
| </p> | |
| </div> | |
| <div class="bg-secondary-100 rounded-lg p-6"> | |
| <div class="w-16 h-16 rounded-full bg-secondary-500 flex items-center justify-center mb-4 mx-auto"> | |
| <i data-feather="moon" class="text-white w-8 h-8"></i> | |
| </div> | |
| <h4 class="text-xl font-semibold text-center mb-2 text-gray-900">Secondary Purple</h4> | |
| <p class="text-gray-700 text-center"> | |
| Symbolizes creativity, mystery, and luxury. Great for artistic brands. | |
| </p> | |
| </div> | |
| <div class="bg-red-100 rounded-lg p-6"> | |
| <div class="w-16 h-16 rounded-full bg-red-500 flex items-center justify-center mb-4 mx-auto"> | |
| <i data-feather="heart" class="text-white w-8 h-8"></i> | |
| </div> | |
| <h4 class="text-xl font-semibold text-center mb-2 text-gray-900">Passionate Red</h4> | |
| <p class="text-gray-700 text-center"> | |
| Evokes energy, excitement, and urgency. Used for calls to action. | |
| </p> | |
| </div> | |
| <div class="bg-green-100 rounded-lg p-6"> | |
| <div class="w-16 h-16 rounded-full bg-green-500 flex items-center justify-center mb-4 mx-auto"> | |
| <i data-feather="leaf" class="text-white w-8 h-8"></i> | |
| </div> | |
| <h4 class="text-xl font-semibold text-center mb-2 text-gray-900">Natural Green</h4> | |
| <p class="text-gray-700 text-center"> | |
| Represents growth, health, and environmental awareness. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section class="py-20 bg-gradient-to-r from-primary-500 to-secondary-500 text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h3 class="text-3xl font-bold mb-6">Ready to explore more colors?</h3> | |
| <p class="text-xl mb-8 max-w-3xl mx-auto opacity-90"> | |
| Join our community of designers and developers creating beautiful color schemes. | |
| </p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <button class="px-8 py-3 bg-white text-primary-600 font-medium rounded-lg hover:bg-gray-100 transition shadow-md hover:shadow-lg"> | |
| Sign Up Free | |
| </button> | |
| <button class="px-8 py-3 bg-transparent border-2 border-white text-white font-medium rounded-lg hover:bg-white hover:bg-opacity-10 transition"> | |
| Learn More | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Mystical Palette</h4> | |
| <p class="text-gray-400"> | |
| Exploring the magic of colors since 2023. Helping designers create beautiful interfaces. | |
| </p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Color Tools</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Connect</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="github"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="dribbble"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 Mystical Palette Explorer. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| // Simple animation for the hero section | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const heading = document.querySelector('h2'); | |
| heading.style.opacity = '0'; | |
| heading.style.transform = 'translateY(20px)'; | |
| setTimeout(() => { | |
| heading.style.transition = 'opacity 0.8s ease, transform 0.8s ease'; | |
| heading.style.opacity = '1'; | |
| heading.style.transform = 'translateY(0)'; | |
| }, 300); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |