Random Color Generator

#1e4476 Color

Color Codes
Hex Code #1e4476
RGB Code rgb(30, 68, 118)
HSL Code hsl(214, 59%, 29%)

#1e4476 Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(30, 68, 118);
   }

R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.

hsl()

 hsl(hue saturation lightness);
 hsl(hue saturation lightness / alpha);

 div {
  background-color: hsl(214, 59%, 29%);
  }

Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.

Lighter and darker colors of #1e4476

RGB Code Hex Code Preview
rgb(30, 68, 118, 10%) #1e44761a  
rgb(30, 68, 118, 20%) #1e447633  
rgb(30, 68, 118, 40%) #1e44764C  
rgb(30, 68, 118, 60%) #1e447699  
rgb(30, 68, 118, 80%) #1e4476CC  
rgb(30, 68, 118, 100%) #1e4476FF  

Saturated and desaturated colors of #1e4476

HSL Code Preview
hsl(214, 10%, 29%)  
hsl(214, 20%, 29%)  
hsl(214, 40%, 29%)  
hsl(214, 60%, 29%)  
hsl(214, 80%, 29%)  
hsl(214, 100%, 29%)  

#1e4476 Color Usage In CSS

 body {
    color: #1e4476;
    }
 p {
    color: rgb(30, 68, 118);
    }
 header {
    border-bottom:1px solid #1e4476;
    }
Recent Random Colors