Random Color Generator

#2d3b5a Color

Color Codes
Hex Code #2d3b5a
RGB Code rgb(45, 59, 90)
HSL Code hsl(221, 33%, 26%)

#2d3b5a Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 59, 90);
   }

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(221, 33%, 26%);
  }

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 #2d3b5a

RGB Code Hex Code Preview
rgb(45, 59, 90, 10%) #2d3b5a1a  
rgb(45, 59, 90, 20%) #2d3b5a33  
rgb(45, 59, 90, 40%) #2d3b5a4C  
rgb(45, 59, 90, 60%) #2d3b5a99  
rgb(45, 59, 90, 80%) #2d3b5aCC  
rgb(45, 59, 90, 100%) #2d3b5aFF  

Saturated and desaturated colors of #2d3b5a

HSL Code Preview
hsl(221, 10%, 26%)  
hsl(221, 20%, 26%)  
hsl(221, 40%, 26%)  
hsl(221, 60%, 26%)  
hsl(221, 80%, 26%)  
hsl(221, 100%, 26%)  

#2d3b5a Color Usage In CSS

 body {
    color: #2d3b5a;
    }
 p {
    color: rgb(45, 59, 90);
    }
 header {
    border-bottom:1px solid #2d3b5a;
    }
Recent Random Colors