Random Color Generator

#bafbb4 Color

Color Codes
Hex Code #bafbb4
RGB Code rgb(186, 251, 180)
HSL Code hsl(115, 90%, 85%)

#bafbb4 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 251, 180);
   }

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(115, 90%, 85%);
  }

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

RGB Code Hex Code Preview
rgb(186, 251, 180, 10%) #bafbb41a  
rgb(186, 251, 180, 20%) #bafbb433  
rgb(186, 251, 180, 40%) #bafbb44C  
rgb(186, 251, 180, 60%) #bafbb499  
rgb(186, 251, 180, 80%) #bafbb4CC  
rgb(186, 251, 180, 100%) #bafbb4FF  

Saturated and desaturated colors of #bafbb4

HSL Code Preview
hsl(115, 10%, 85%)  
hsl(115, 20%, 85%)  
hsl(115, 40%, 85%)  
hsl(115, 60%, 85%)  
hsl(115, 80%, 85%)  
hsl(115, 100%, 85%)  

#bafbb4 Color Usage In CSS

 body {
    color: #bafbb4;
    }
 p {
    color: rgb(186, 251, 180);
    }
 header {
    border-bottom:1px solid #bafbb4;
    }
Recent Random Colors