Random Color Generator

#4ad462 Color

Color Codes
Hex Code #4ad462
RGB Code rgb(74, 212, 98)
HSL Code hsl(130, 62%, 56%)

#4ad462 Color Syntax

rgb()

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

 main {
    background-color: rgb(74, 212, 98);
   }

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(130, 62%, 56%);
  }

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 #4ad462

RGB Code Hex Code Preview
rgb(74, 212, 98, 10%) #4ad4621a  
rgb(74, 212, 98, 20%) #4ad46233  
rgb(74, 212, 98, 40%) #4ad4624C  
rgb(74, 212, 98, 60%) #4ad46299  
rgb(74, 212, 98, 80%) #4ad462CC  
rgb(74, 212, 98, 100%) #4ad462FF  

Saturated and desaturated colors of #4ad462

HSL Code Preview
hsl(130, 10%, 56%)  
hsl(130, 20%, 56%)  
hsl(130, 40%, 56%)  
hsl(130, 60%, 56%)  
hsl(130, 80%, 56%)  
hsl(130, 100%, 56%)  

#4ad462 Color Usage In CSS

 body {
    color: #4ad462;
    }
 p {
    color: rgb(74, 212, 98);
    }
 header {
    border-bottom:1px solid #4ad462;
    }
Recent Random Colors