Random Color Generator

#7ec426 Color

Color Codes
Hex Code #7ec426
RGB Code rgb(126, 196, 38)
HSL Code hsl(87, 68%, 46%)

#7ec426 Color Syntax

rgb()

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

 main {
    background-color: rgb(126, 196, 38);
   }

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(87, 68%, 46%);
  }

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 #7ec426

RGB Code Hex Code Preview
rgb(126, 196, 38, 10%) #7ec4261a  
rgb(126, 196, 38, 20%) #7ec42633  
rgb(126, 196, 38, 40%) #7ec4264C  
rgb(126, 196, 38, 60%) #7ec42699  
rgb(126, 196, 38, 80%) #7ec426CC  
rgb(126, 196, 38, 100%) #7ec426FF  

Saturated and desaturated colors of #7ec426

HSL Code Preview
hsl(87, 10%, 46%)  
hsl(87, 20%, 46%)  
hsl(87, 40%, 46%)  
hsl(87, 60%, 46%)  
hsl(87, 80%, 46%)  
hsl(87, 100%, 46%)  

#7ec426 Color Usage In CSS

 body {
    color: #7ec426;
    }
 p {
    color: rgb(126, 196, 38);
    }
 header {
    border-bottom:1px solid #7ec426;
    }
Recent Random Colors