Random Color Generator

#baf864 Color

Color Codes
Hex Code #baf864
RGB Code rgb(186, 248, 100)
HSL Code hsl(85, 91%, 68%)

#baf864 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 248, 100);
   }

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(85, 91%, 68%);
  }

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

RGB Code Hex Code Preview
rgb(186, 248, 100, 10%) #baf8641a  
rgb(186, 248, 100, 20%) #baf86433  
rgb(186, 248, 100, 40%) #baf8644C  
rgb(186, 248, 100, 60%) #baf86499  
rgb(186, 248, 100, 80%) #baf864CC  
rgb(186, 248, 100, 100%) #baf864FF  

Saturated and desaturated colors of #baf864

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

#baf864 Color Usage In CSS

 body {
    color: #baf864;
    }
 p {
    color: rgb(186, 248, 100);
    }
 header {
    border-bottom:1px solid #baf864;
    }
Recent Random Colors