Random Color Generator

#1c6eca Color

Color Codes
Hex Code #1c6eca
RGB Code rgb(28, 110, 202)
HSL Code hsl(212, 76%, 45%)

#1c6eca Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 110, 202);
   }

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(212, 76%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(28, 110, 202, 10%) #1c6eca1a  
rgb(28, 110, 202, 20%) #1c6eca33  
rgb(28, 110, 202, 40%) #1c6eca4C  
rgb(28, 110, 202, 60%) #1c6eca99  
rgb(28, 110, 202, 80%) #1c6ecaCC  
rgb(28, 110, 202, 100%) #1c6ecaFF  

Saturated and desaturated colors of #1c6eca

HSL Code Preview
hsl(212, 10%, 45%)  
hsl(212, 20%, 45%)  
hsl(212, 40%, 45%)  
hsl(212, 60%, 45%)  
hsl(212, 80%, 45%)  
hsl(212, 100%, 45%)  

#1c6eca Color Usage In CSS

 body {
    color: #1c6eca;
    }
 p {
    color: rgb(28, 110, 202);
    }
 header {
    border-bottom:1px solid #1c6eca;
    }
Recent Random Colors