Random Color Generator

#20b248 Color

Color Codes
Hex Code #20b248
RGB Code rgb(32, 178, 72)
HSL Code hsl(136, 70%, 41%)

#20b248 Color Syntax

rgb()

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

 main {
    background-color: rgb(32, 178, 72);
   }

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(136, 70%, 41%);
  }

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 #20b248

RGB Code Hex Code Preview
rgb(32, 178, 72, 10%) #20b2481a  
rgb(32, 178, 72, 20%) #20b24833  
rgb(32, 178, 72, 40%) #20b2484C  
rgb(32, 178, 72, 60%) #20b24899  
rgb(32, 178, 72, 80%) #20b248CC  
rgb(32, 178, 72, 100%) #20b248FF  

Saturated and desaturated colors of #20b248

HSL Code Preview
hsl(136, 10%, 41%)  
hsl(136, 20%, 41%)  
hsl(136, 40%, 41%)  
hsl(136, 60%, 41%)  
hsl(136, 80%, 41%)  
hsl(136, 100%, 41%)  

#20b248 Color Usage In CSS

 body {
    color: #20b248;
    }
 p {
    color: rgb(32, 178, 72);
    }
 header {
    border-bottom:1px solid #20b248;
    }
Recent Random Colors