Emission vs Absorption Spectra
Continuous / emission / absorption spectra side-by-side bands.
Rendering…
Make it your own.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 320" width="480" height="320">
<style>
text { font:12px Inter, sans-serif; fill:#0f172a; font-weight:600; }
</style>
<defs>
<linearGradient id="vis" x1="0" x2="1">
<stop offset="0%" stop-color="#7c3aed"/>
<stop offset="20%" stop-color="#3666ff"/>
<stop offset="40%" stop-color="#16a34a"/>
<stop offset="60%" stop-color="#fde047"/>
<stop offset="80%" stop-color="#f59e0b"/>
<stop offset="100%" stop-color="#dc2626"/>
</linearGradient>
</defs>
<text x="20" y="30">Continuous (e.g. hot blackbody)</text>
<rect x="20" y="40" width="440" height="40" fill="url(#vis)"/>
<text x="20" y="120">Emission lines (e.g. H gas)</text>
<rect x="20" y="130" width="440" height="40" fill="#0f172a"/>
<line x1="120" y1="130" x2="120" y2="170" stroke="#7c3aed" stroke-width="3"/>
<line x1="200" y1="130" x2="200" y2="170" stroke="#3666ff" stroke-width="3"/>
<line x1="280" y1="130" x2="280" y2="170" stroke="#16a34a" stroke-width="3"/>
<line x1="380" y1="130" x2="380" y2="170" stroke="#dc2626" stroke-width="3"/>
<text x="20" y="210">Absorption lines (cool gas in front of source)</text>
<rect x="20" y="220" width="440" height="40" fill="url(#vis)"/>
<line x1="120" y1="220" x2="120" y2="260" stroke="#0f172a" stroke-width="3"/>
<line x1="200" y1="220" x2="200" y2="260" stroke="#0f172a" stroke-width="3"/>
<line x1="280" y1="220" x2="280" y2="260" stroke="#0f172a" stroke-width="3"/>
<line x1="380" y1="220" x2="380" y2="260" stroke="#0f172a" stroke-width="3"/>
<text x="20" y="300">Same atom, opposite-sign features at identical wavelengths.</text>
</svg>