Random Color Generator

#211b74 Color

Color Codes
Hex Code #211b74
RGB Code rgb(33, 27, 116)
HSL Code hsl(244, 62%, 28%)

#211b74 Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 27, 116);
   }

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(244, 62%, 28%);
  }

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 #211b74

RGB Code Hex Code Preview
rgb(33, 27, 116, 10%) #211b741a  
rgb(33, 27, 116, 20%) #211b7433  
rgb(33, 27, 116, 40%) #211b744C  
rgb(33, 27, 116, 60%) #211b7499  
rgb(33, 27, 116, 80%) #211b74CC  
rgb(33, 27, 116, 100%) #211b74FF  

Saturated and desaturated colors of #211b74

HSL Code Preview
hsl(244, 10%, 28%)  
hsl(244, 20%, 28%)  
hsl(244, 40%, 28%)  
hsl(244, 60%, 28%)  
hsl(244, 80%, 28%)  
hsl(244, 100%, 28%)  

#211b74 Color Usage In CSS

 body {
    color: #211b74;
    }
 p {
    color: rgb(33, 27, 116);
    }
 header {
    border-bottom:1px solid #211b74;
    }
Recent Random Colors