Random Color Generator

#bef630 Color

Color Codes
Hex Code #bef630
RGB Code rgb(190, 246, 48)
HSL Code hsl(77, 92%, 58%)

#bef630 Color Syntax

rgb()

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

 main {
    background-color: rgb(190, 246, 48);
   }

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(77, 92%, 58%);
  }

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

RGB Code Hex Code Preview
rgb(190, 246, 48, 10%) #bef6301a  
rgb(190, 246, 48, 20%) #bef63033  
rgb(190, 246, 48, 40%) #bef6304C  
rgb(190, 246, 48, 60%) #bef63099  
rgb(190, 246, 48, 80%) #bef630CC  
rgb(190, 246, 48, 100%) #bef630FF  

Saturated and desaturated colors of #bef630

HSL Code Preview
hsl(77, 10%, 58%)  
hsl(77, 20%, 58%)  
hsl(77, 40%, 58%)  
hsl(77, 60%, 58%)  
hsl(77, 80%, 58%)  
hsl(77, 100%, 58%)  

#bef630 Color Usage In CSS

 body {
    color: #bef630;
    }
 p {
    color: rgb(190, 246, 48);
    }
 header {
    border-bottom:1px solid #bef630;
    }
Recent Random Colors