frontendhack-logo

Neon Blue is a wide, diffused CSS box shadow from the Colored & Glow collection, built from 3 stacked layers and a colored tint. The largest blur radius is 60px. Copy the code below and paste it into any element.

box-shadow: 0px 0px 10px 0px rgba(59, 130, 246, 0.9), 0px 0px 30px 0px rgba(59, 130, 246, 0.7), 0px 0px 60px 0px rgba(59, 130, 246, 0.5);

All box shadow examples

Shadow values

#TypeXYBlurSpreadColorOpacity
1outer0px0px10px0px#3B82F60.9
2outer0px0px30px0px#3B82F60.7
3outer0px0px60px0px#3B82F60.5

How to use it

.card {
  background: #1E293B;
  border-radius: 12px;
  box-shadow: 0px 0px 10px 0px rgba(59, 130, 246, 0.9), 0px 0px 30px 0px rgba(59, 130, 246, 0.7), 0px 0px 60px 0px rgba(59, 130, 246, 0.5);
}

More Colored & Glow examples

Frequently Asked Questions

Copy the box-shadow line and paste it into the CSS rule of the element you want to style, for example a card, button or image wrapper. The example is shown on a #0F172A background with a #1E293B element and 12px rounded corners.

Yes. This shadow has 3 layers separated by commas. Change the pixel values or the rgba() color of any layer directly in your CSS to tune it.

This example is designed for dark backgrounds, where light or colored shadows stay visible. On a white page the effect will be much weaker.