Royal Blue Gradient

Gradient Preview

Direction

Colors Used

#141E30
#243B55

Gradient Image

CSS Examples

Background Gradient:

background: linear-gradient(to right, #141E30, #243B55);

Button Gradient:

button { background: linear-gradient(to right, #141E30, #243B55); color: white; border: none; padding: 8px 16px; border-radius: 4px; }

HTML Example

Div with gradient background:

<div style="background: linear-gradient(to right, #141E30, #243B55); width: 100%; height: 200px;"></div>

Result:

About Royal Blue Gradient

The Royal Blue gradient is a beautiful color transition from #141E30 to #243B55. This gradient creates a smooth blend between 2 distinct colors, making it perfect for website backgrounds, buttons, headers, and other UI elements.

You can use this gradient in your CSS by copying the code above. The gradient can be applied to any HTML element by setting it as the background property. You can also change the direction of the gradient to suit your design needs.

Gradients like Royal Blue add depth and visual interest to your designs. They can help establish hierarchy, create focal points, and enhance the overall aesthetic of your website or application.