Random Color Generator

#165ac0 Color

Color Codes
Hex Code #165ac0
RGB Code rgb(22, 90, 192)
HSL Code hsl(216, 79%, 42%)

#165ac0 Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 90, 192);
   }

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(216, 79%, 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 #165ac0

RGB Code Hex Code Preview
rgb(22, 90, 192, 10%) #165ac01a  
rgb(22, 90, 192, 20%) #165ac033  
rgb(22, 90, 192, 40%) #165ac04C  
rgb(22, 90, 192, 60%) #165ac099  
rgb(22, 90, 192, 80%) #165ac0CC  
rgb(22, 90, 192, 100%) #165ac0FF  

Saturated and desaturated colors of #165ac0

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

#165ac0 Color Usage In CSS

 body {
    color: #165ac0;
    }
 p {
    color: rgb(22, 90, 192);
    }
 header {
    border-bottom:1px solid #165ac0;
    }
Recent Random Colors