Random Color Generator

#1d3551 Color

Color Codes
Hex Code #1d3551
RGB Code rgb(29, 53, 81)
HSL Code hsl(212, 47%, 22%)

#1d3551 Color Syntax

rgb()

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

 main {
    background-color: rgb(29, 53, 81);
   }

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(212, 47%, 22%);
  }

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 #1d3551

RGB Code Hex Code Preview
rgb(29, 53, 81, 10%) #1d35511a  
rgb(29, 53, 81, 20%) #1d355133  
rgb(29, 53, 81, 40%) #1d35514C  
rgb(29, 53, 81, 60%) #1d355199  
rgb(29, 53, 81, 80%) #1d3551CC  
rgb(29, 53, 81, 100%) #1d3551FF  

Saturated and desaturated colors of #1d3551

HSL Code Preview
hsl(212, 10%, 22%)  
hsl(212, 20%, 22%)  
hsl(212, 40%, 22%)  
hsl(212, 60%, 22%)  
hsl(212, 80%, 22%)  
hsl(212, 100%, 22%)  

#1d3551 Color Usage In CSS

 body {
    color: #1d3551;
    }
 p {
    color: rgb(29, 53, 81);
    }
 header {
    border-bottom:1px solid #1d3551;
    }
Recent Random Colors