Random Color Generator

#166c7f Color

Color Codes
Hex Code #166c7f
RGB Code rgb(22, 108, 127)
HSL Code hsl(191, 70%, 29%)

#166c7f Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 108, 127);
   }

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(191, 70%, 29%);
  }

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 #166c7f

RGB Code Hex Code Preview
rgb(22, 108, 127, 10%) #166c7f1a  
rgb(22, 108, 127, 20%) #166c7f33  
rgb(22, 108, 127, 40%) #166c7f4C  
rgb(22, 108, 127, 60%) #166c7f99  
rgb(22, 108, 127, 80%) #166c7fCC  
rgb(22, 108, 127, 100%) #166c7fFF  

Saturated and desaturated colors of #166c7f

HSL Code Preview
hsl(191, 10%, 29%)  
hsl(191, 20%, 29%)  
hsl(191, 40%, 29%)  
hsl(191, 60%, 29%)  
hsl(191, 80%, 29%)  
hsl(191, 100%, 29%)  

#166c7f Color Usage In CSS

 body {
    color: #166c7f;
    }
 p {
    color: rgb(22, 108, 127);
    }
 header {
    border-bottom:1px solid #166c7f;
    }
Recent Random Colors