Random Color Generator

#bae424 Color

Color Codes
Hex Code #bae424
RGB Code rgb(186, 228, 36)
HSL Code hsl(73, 78%, 52%)

#bae424 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 228, 36);
   }

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(73, 78%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(186, 228, 36, 10%) #bae4241a  
rgb(186, 228, 36, 20%) #bae42433  
rgb(186, 228, 36, 40%) #bae4244C  
rgb(186, 228, 36, 60%) #bae42499  
rgb(186, 228, 36, 80%) #bae424CC  
rgb(186, 228, 36, 100%) #bae424FF  

Saturated and desaturated colors of #bae424

HSL Code Preview
hsl(73, 10%, 52%)  
hsl(73, 20%, 52%)  
hsl(73, 40%, 52%)  
hsl(73, 60%, 52%)  
hsl(73, 80%, 52%)  
hsl(73, 100%, 52%)  

#bae424 Color Usage In CSS

 body {
    color: #bae424;
    }
 p {
    color: rgb(186, 228, 36);
    }
 header {
    border-bottom:1px solid #bae424;
    }
Recent Random Colors