Random Color Generator

#5095aa Color

Color Codes
Hex Code #5095aa
RGB Code rgb(80, 149, 170)
HSL Code hsl(194, 36%, 49%)

#5095aa Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 149, 170);
   }

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(194, 36%, 49%);
  }

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 #5095aa

RGB Code Hex Code Preview
rgb(80, 149, 170, 10%) #5095aa1a  
rgb(80, 149, 170, 20%) #5095aa33  
rgb(80, 149, 170, 40%) #5095aa4C  
rgb(80, 149, 170, 60%) #5095aa99  
rgb(80, 149, 170, 80%) #5095aaCC  
rgb(80, 149, 170, 100%) #5095aaFF  

Saturated and desaturated colors of #5095aa

HSL Code Preview
hsl(194, 10%, 49%)  
hsl(194, 20%, 49%)  
hsl(194, 40%, 49%)  
hsl(194, 60%, 49%)  
hsl(194, 80%, 49%)  
hsl(194, 100%, 49%)  

#5095aa Color Usage In CSS

 body {
    color: #5095aa;
    }
 p {
    color: rgb(80, 149, 170);
    }
 header {
    border-bottom:1px solid #5095aa;
    }
Recent Random Colors