Random Color Generator

#16d238 Color

Color Codes
Hex Code #16d238
RGB Code rgb(22, 210, 56)
HSL Code hsl(131, 81%, 45%)

#16d238 Color Syntax

rgb()

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

 main {
    background-color: rgb(22, 210, 56);
   }

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(131, 81%, 45%);
  }

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 #16d238

RGB Code Hex Code Preview
rgb(22, 210, 56, 10%) #16d2381a  
rgb(22, 210, 56, 20%) #16d23833  
rgb(22, 210, 56, 40%) #16d2384C  
rgb(22, 210, 56, 60%) #16d23899  
rgb(22, 210, 56, 80%) #16d238CC  
rgb(22, 210, 56, 100%) #16d238FF  

Saturated and desaturated colors of #16d238

HSL Code Preview
hsl(131, 10%, 45%)  
hsl(131, 20%, 45%)  
hsl(131, 40%, 45%)  
hsl(131, 60%, 45%)  
hsl(131, 80%, 45%)  
hsl(131, 100%, 45%)  

#16d238 Color Usage In CSS

 body {
    color: #16d238;
    }
 p {
    color: rgb(22, 210, 56);
    }
 header {
    border-bottom:1px solid #16d238;
    }
Recent Random Colors