Random Color Generator

#bafe12 Color

Color Codes
Hex Code #bafe12
RGB Code rgb(186, 254, 18)
HSL Code hsl(77, 99%, 53%)

#bafe12 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 254, 18);
   }

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, 99%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(186, 254, 18, 10%) #bafe121a  
rgb(186, 254, 18, 20%) #bafe1233  
rgb(186, 254, 18, 40%) #bafe124C  
rgb(186, 254, 18, 60%) #bafe1299  
rgb(186, 254, 18, 80%) #bafe12CC  
rgb(186, 254, 18, 100%) #bafe12FF  

Saturated and desaturated colors of #bafe12

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

#bafe12 Color Usage In CSS

 body {
    color: #bafe12;
    }
 p {
    color: rgb(186, 254, 18);
    }
 header {
    border-bottom:1px solid #bafe12;
    }
Recent Random Colors