Random Color Generator

#52749f Color

Color Codes
Hex Code #52749f
RGB Code rgb(82, 116, 159)
HSL Code hsl(214, 32%, 47%)

#52749f Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 116, 159);
   }

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(214, 32%, 47%);
  }

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 #52749f

RGB Code Hex Code Preview
rgb(82, 116, 159, 10%) #52749f1a  
rgb(82, 116, 159, 20%) #52749f33  
rgb(82, 116, 159, 40%) #52749f4C  
rgb(82, 116, 159, 60%) #52749f99  
rgb(82, 116, 159, 80%) #52749fCC  
rgb(82, 116, 159, 100%) #52749fFF  

Saturated and desaturated colors of #52749f

HSL Code Preview
hsl(214, 10%, 47%)  
hsl(214, 20%, 47%)  
hsl(214, 40%, 47%)  
hsl(214, 60%, 47%)  
hsl(214, 80%, 47%)  
hsl(214, 100%, 47%)  

#52749f Color Usage In CSS

 body {
    color: #52749f;
    }
 p {
    color: rgb(82, 116, 159);
    }
 header {
    border-bottom:1px solid #52749f;
    }
Recent Random Colors