How to Customize Matrix Rain Colors & Speed

The Matrix Digital Rain is one of the most iconic effects in web history. But did you know you can completely change its vibe with just a few clicks in HTMLHub?

In this tutorial, we’ll learn how to transform the classic green rain into a Crimson Glitch Stream or any other color scheme.

1. Using the Customizer

Every effect on HTMLHub comes with a built-in Customizer Panel (available on desktop).

  1. Navigate to the Crimson Glitch Stream page.
  2. Open the Customize tab on the left.
  3. Colors:
    • Text Color: Change this to your primary color (e.g., Cyan #00ffff).
    • Background: Adjust the darkness.
  4. Speed:
    • Use the Speed Slider to slow it down for a chill vibe (0.5x) or speed it up for chaos (2.0x).
  5. Font:
    • Select “JetBrains Mono” for a modern developer look, or “Katakana” for authentic anime style.

2. Implementing in Code

Once you’re happy with your design, click the Copy Code button. You’ll see variables like this:

:root {
  --matrix-text: #00ffff;
  --matrix-bg: #0d0208;
  --htmlhub-speed: 1.5;
}

Simply paste this into your project’s CSS, and the JavaScript will automatically pick up the values!

3. Advanced: Changing the Symbols

Want to use emojis instead of text?

  1. Download the code.
  2. Open index.html.
  3. Find the characters string in the JavaScript.
  4. Replace it with: const characters = '💻📱🖥️⌨️';

Now you have raining tech emojis!

Happy coding!

Source Code
Source Copied!
Loved this effect? Host your deployment globally for free on our partner networks:
Vercel Netlify Hostinger