Random Color Generator

#1b48a4 Color

Color Codes
Hex Code #1b48a4
RGB Code rgb(27, 72, 164)
HSL Code hsl(220, 72%, 37%)

#1b48a4 Color Syntax

rgb()

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

 main {
    background-color: rgb(27, 72, 164);
   }

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(220, 72%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(27, 72, 164, 10%) #1b48a41a  
rgb(27, 72, 164, 20%) #1b48a433  
rgb(27, 72, 164, 40%) #1b48a44C  
rgb(27, 72, 164, 60%) #1b48a499  
rgb(27, 72, 164, 80%) #1b48a4CC  
rgb(27, 72, 164, 100%) #1b48a4FF  

Saturated and desaturated colors of #1b48a4

HSL Code Preview
hsl(220, 10%, 37%)  
hsl(220, 20%, 37%)  
hsl(220, 40%, 37%)  
hsl(220, 60%, 37%)  
hsl(220, 80%, 37%)  
hsl(220, 100%, 37%)  

#1b48a4 Color Usage In CSS

 body {
    color: #1b48a4;
    }
 p {
    color: rgb(27, 72, 164);
    }
 header {
    border-bottom:1px solid #1b48a4;
    }
Recent Random Colors