Random Color Generator

#164fc2 Color

Color Codes
Hex Code #164fc2
RGB Code rgb(22, 79, 194)
HSL Code hsl(220, 80%, 42%)

#164fc2 Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 79, 194);
   }

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, 80%, 42%);
  }

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 #164fc2

RGB Code Hex Code Preview
rgb(22, 79, 194, 10%) #164fc21a  
rgb(22, 79, 194, 20%) #164fc233  
rgb(22, 79, 194, 40%) #164fc24C  
rgb(22, 79, 194, 60%) #164fc299  
rgb(22, 79, 194, 80%) #164fc2CC  
rgb(22, 79, 194, 100%) #164fc2FF  

Saturated and desaturated colors of #164fc2

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

#164fc2 Color Usage In CSS

 body {
    color: #164fc2;
    }
 p {
    color: rgb(22, 79, 194);
    }
 header {
    border-bottom:1px solid #164fc2;
    }
Recent Random Colors