Random Color Generator

#5d8fac Color

Color Codes
Hex Code #5d8fac
RGB Code rgb(93, 143, 172)
HSL Code hsl(202, 32%, 52%)

#5d8fac Color Syntax

rgb()

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

 main {
    background-color: rgb(93, 143, 172);
   }

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(202, 32%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(93, 143, 172, 10%) #5d8fac1a  
rgb(93, 143, 172, 20%) #5d8fac33  
rgb(93, 143, 172, 40%) #5d8fac4C  
rgb(93, 143, 172, 60%) #5d8fac99  
rgb(93, 143, 172, 80%) #5d8facCC  
rgb(93, 143, 172, 100%) #5d8facFF  

Saturated and desaturated colors of #5d8fac

HSL Code Preview
hsl(202, 10%, 52%)  
hsl(202, 20%, 52%)  
hsl(202, 40%, 52%)  
hsl(202, 60%, 52%)  
hsl(202, 80%, 52%)  
hsl(202, 100%, 52%)  

#5d8fac Color Usage In CSS

 body {
    color: #5d8fac;
    }
 p {
    color: rgb(93, 143, 172);
    }
 header {
    border-bottom:1px solid #5d8fac;
    }
Recent Random Colors