Random Color Generator

#1b41d0 Color

Color Codes
Hex Code #1b41d0
RGB Code rgb(27, 65, 208)
HSL Code hsl(227, 77%, 46%)

#1b41d0 Color Syntax

rgb()

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

 main {
    background-color: rgb(27, 65, 208);
   }

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(227, 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 #1b41d0

RGB Code Hex Code Preview
rgb(27, 65, 208, 10%) #1b41d01a  
rgb(27, 65, 208, 20%) #1b41d033  
rgb(27, 65, 208, 40%) #1b41d04C  
rgb(27, 65, 208, 60%) #1b41d099  
rgb(27, 65, 208, 80%) #1b41d0CC  
rgb(27, 65, 208, 100%) #1b41d0FF  

Saturated and desaturated colors of #1b41d0

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

#1b41d0 Color Usage In CSS

 body {
    color: #1b41d0;
    }
 p {
    color: rgb(27, 65, 208);
    }
 header {
    border-bottom:1px solid #1b41d0;
    }
Recent Random Colors