Random Color Generator

#52b970 Color

Color Codes
Hex Code #52b970
RGB Code rgb(82, 185, 112)
HSL Code hsl(137, 42%, 52%)

#52b970 Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 185, 112);
   }

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(137, 42%, 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 #52b970

RGB Code Hex Code Preview
rgb(82, 185, 112, 10%) #52b9701a  
rgb(82, 185, 112, 20%) #52b97033  
rgb(82, 185, 112, 40%) #52b9704C  
rgb(82, 185, 112, 60%) #52b97099  
rgb(82, 185, 112, 80%) #52b970CC  
rgb(82, 185, 112, 100%) #52b970FF  

Saturated and desaturated colors of #52b970

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

#52b970 Color Usage In CSS

 body {
    color: #52b970;
    }
 p {
    color: rgb(82, 185, 112);
    }
 header {
    border-bottom:1px solid #52b970;
    }
Recent Random Colors