Random Color Generator

#bad223 Color

Color Codes
Hex Code #bad223
RGB Code rgb(186, 210, 35)
HSL Code hsl(68, 71%, 48%)

#bad223 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 210, 35);
   }

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(68, 71%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(186, 210, 35, 10%) #bad2231a  
rgb(186, 210, 35, 20%) #bad22333  
rgb(186, 210, 35, 40%) #bad2234C  
rgb(186, 210, 35, 60%) #bad22399  
rgb(186, 210, 35, 80%) #bad223CC  
rgb(186, 210, 35, 100%) #bad223FF  

Saturated and desaturated colors of #bad223

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

#bad223 Color Usage In CSS

 body {
    color: #bad223;
    }
 p {
    color: rgb(186, 210, 35);
    }
 header {
    border-bottom:1px solid #bad223;
    }
Recent Random Colors