Random Color Generator

#1c4dc6 Color

Color Codes
Hex Code #1c4dc6
RGB Code rgb(28, 77, 198)
HSL Code hsl(223, 75%, 44%)

#1c4dc6 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 77, 198);
   }

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(223, 75%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(28, 77, 198, 10%) #1c4dc61a  
rgb(28, 77, 198, 20%) #1c4dc633  
rgb(28, 77, 198, 40%) #1c4dc64C  
rgb(28, 77, 198, 60%) #1c4dc699  
rgb(28, 77, 198, 80%) #1c4dc6CC  
rgb(28, 77, 198, 100%) #1c4dc6FF  

Saturated and desaturated colors of #1c4dc6

HSL Code Preview
hsl(223, 10%, 44%)  
hsl(223, 20%, 44%)  
hsl(223, 40%, 44%)  
hsl(223, 60%, 44%)  
hsl(223, 80%, 44%)  
hsl(223, 100%, 44%)  

#1c4dc6 Color Usage In CSS

 body {
    color: #1c4dc6;
    }
 p {
    color: rgb(28, 77, 198);
    }
 header {
    border-bottom:1px solid #1c4dc6;
    }
Recent Random Colors