Random Color Generator

#21e127 Color

Color Codes
Hex Code #21e127
RGB Code rgb(33, 225, 39)
HSL Code hsl(122, 76%, 51%)

#21e127 Color Syntax

rgb()

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

 main {
    background-color: rgb(33, 225, 39);
   }

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(122, 76%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(33, 225, 39, 10%) #21e1271a  
rgb(33, 225, 39, 20%) #21e12733  
rgb(33, 225, 39, 40%) #21e1274C  
rgb(33, 225, 39, 60%) #21e12799  
rgb(33, 225, 39, 80%) #21e127CC  
rgb(33, 225, 39, 100%) #21e127FF  

Saturated and desaturated colors of #21e127

HSL Code Preview
hsl(122, 10%, 51%)  
hsl(122, 20%, 51%)  
hsl(122, 40%, 51%)  
hsl(122, 60%, 51%)  
hsl(122, 80%, 51%)  
hsl(122, 100%, 51%)  

#21e127 Color Usage In CSS

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