Random Color Generator

#21ae42 Color

Color Codes
Hex Code #21ae42
RGB Code rgb(33, 174, 66)
HSL Code hsl(134, 68%, 41%)

#21ae42 Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 174, 66);
   }

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(134, 68%, 41%);
  }

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

RGB Code Hex Code Preview
rgb(33, 174, 66, 10%) #21ae421a  
rgb(33, 174, 66, 20%) #21ae4233  
rgb(33, 174, 66, 40%) #21ae424C  
rgb(33, 174, 66, 60%) #21ae4299  
rgb(33, 174, 66, 80%) #21ae42CC  
rgb(33, 174, 66, 100%) #21ae42FF  

Saturated and desaturated colors of #21ae42

HSL Code Preview
hsl(134, 10%, 41%)  
hsl(134, 20%, 41%)  
hsl(134, 40%, 41%)  
hsl(134, 60%, 41%)  
hsl(134, 80%, 41%)  
hsl(134, 100%, 41%)  

#21ae42 Color Usage In CSS

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