Random Color Generator

#5a9ca6 Color

Color Codes
Hex Code #5a9ca6
RGB Code rgb(90, 156, 166)
HSL Code hsl(188, 30%, 50%)

#5a9ca6 Color Syntax

rgb()

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

 main {
    background-color: rgb(90, 156, 166);
   }

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(188, 30%, 50%);
  }

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 #5a9ca6

RGB Code Hex Code Preview
rgb(90, 156, 166, 10%) #5a9ca61a  
rgb(90, 156, 166, 20%) #5a9ca633  
rgb(90, 156, 166, 40%) #5a9ca64C  
rgb(90, 156, 166, 60%) #5a9ca699  
rgb(90, 156, 166, 80%) #5a9ca6CC  
rgb(90, 156, 166, 100%) #5a9ca6FF  

Saturated and desaturated colors of #5a9ca6

HSL Code Preview
hsl(188, 10%, 50%)  
hsl(188, 20%, 50%)  
hsl(188, 40%, 50%)  
hsl(188, 60%, 50%)  
hsl(188, 80%, 50%)  
hsl(188, 100%, 50%)  

#5a9ca6 Color Usage In CSS

 body {
    color: #5a9ca6;
    }
 p {
    color: rgb(90, 156, 166);
    }
 header {
    border-bottom:1px solid #5a9ca6;
    }
Recent Random Colors