WhatsApp Group Join Now
Telegram Group Join Now
Instagram Group Join Now

Color Scheme Generator

TYPE html> Color Scheme Generator Color Scheme Generator Base Color: Generate Scheme Base Color Complementary Analogous Triadic document.getElementById(‘generateScheme’).addEventListener(‘click’, generateColorScheme); function generateColorScheme() { const baseColor = document.getElementById(‘baseColor’).value; const baseColorObj = chroma(baseColor); document.getElementById(‘base’).style.backgroundColor = baseColor; document.getElementById(‘complementary’).style.backgroundColor = baseColorObj.saturate(2).hex(); document.getElementById(‘analogous’).style.backgroundColor = baseColorObj.set(‘hsl.h’, ‘+=30’).hex(); document.getElementById(‘triadic’).style.backgroundColor = baseColorObj.set(‘hsl.h’, ‘+=120’).hex(); }

CSS Beautifier Tool

CSS Beautifier Tool CSS Beautifier Tool Beautify © 2023 CSS Beautifier Tool /* Reset some default styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #f0f0f0; } header { background-color: #35495e; color: white; text-align: center; padding: 1rem; } main { max-width: 800px; margin: 2rem auto; padding: 2rem; … Read more