Contact FormsDark-themed sites

Dark Mode Contact Form

A sleek dark-themed contact form with emerald accents. Great for dark-mode websites and developer portfolios.

  • Dark theme
  • Emerald accents
  • Responsive
  • High contrast

Fields included

  • Name
  • Email
  • Message

How to Use This Template

  1. 1Sign up for a free Static Forms account to get your API key.
  2. 2Copy the HTML code above and save it as an .html file.
  3. 3Replace YOUR_API_KEY with your actual API key.
  4. 4Deploy the file to your website and start receiving submissions in your inbox.

Frequently asked questions

Does this form respect system dark mode?

This template is styled dark by default. If you want it to switch automatically, wrap the styles in a prefers-color-scheme media query.

Can I match the accent color to my brand?

Yes. Replace the emerald hex values on the focus, button, and hover rules with your own accent color.

Is the dark form accessible?

The text and inputs meet contrast guidance against the dark background. Keep your accent color at a similar contrast if you change it.

Start receiving form submissions today

No backend code needed. Sign up, grab your API key, and you are ready to go.