Random Color Generator

#1b2ad1 Color

Color Codes
Hex Code #1b2ad1
RGB Code rgb(27, 42, 209)
HSL Code hsl(235, 77%, 46%)

#1b2ad1 Color Syntax

rgb()

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

 main {
    background-color: rgb(27, 42, 209);
   }

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(235, 77%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(27, 42, 209, 10%) #1b2ad11a  
rgb(27, 42, 209, 20%) #1b2ad133  
rgb(27, 42, 209, 40%) #1b2ad14C  
rgb(27, 42, 209, 60%) #1b2ad199  
rgb(27, 42, 209, 80%) #1b2ad1CC  
rgb(27, 42, 209, 100%) #1b2ad1FF  

Saturated and desaturated colors of #1b2ad1

HSL Code Preview
hsl(235, 10%, 46%)  
hsl(235, 20%, 46%)  
hsl(235, 40%, 46%)  
hsl(235, 60%, 46%)  
hsl(235, 80%, 46%)  
hsl(235, 100%, 46%)  

#1b2ad1 Color Usage In CSS

 body {
    color: #1b2ad1;
    }
 p {
    color: rgb(27, 42, 209);
    }
 header {
    border-bottom:1px solid #1b2ad1;
    }
Recent Random Colors