Random Color Generator

#21c376 Color

Color Codes
Hex Code #21c376
RGB Code rgb(33, 195, 118)
HSL Code hsl(151, 71%, 45%)

#21c376 Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 195, 118);
   }

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(151, 71%, 45%);
  }

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 #21c376

RGB Code Hex Code Preview
rgb(33, 195, 118, 10%) #21c3761a  
rgb(33, 195, 118, 20%) #21c37633  
rgb(33, 195, 118, 40%) #21c3764C  
rgb(33, 195, 118, 60%) #21c37699  
rgb(33, 195, 118, 80%) #21c376CC  
rgb(33, 195, 118, 100%) #21c376FF  

Saturated and desaturated colors of #21c376

HSL Code Preview
hsl(151, 10%, 45%)  
hsl(151, 20%, 45%)  
hsl(151, 40%, 45%)  
hsl(151, 60%, 45%)  
hsl(151, 80%, 45%)  
hsl(151, 100%, 45%)  

#21c376 Color Usage In CSS

 body {
    color: #21c376;
    }
 p {
    color: rgb(33, 195, 118);
    }
 header {
    border-bottom:1px solid #21c376;
    }
Recent Random Colors