Random Color Generator

#18d70f Color

Color Codes
Hex Code #18d70f
RGB Code rgb(24, 215, 15)
HSL Code hsl(117, 87%, 45%)

#18d70f Color Syntax

rgb()

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

 main {
    background-color: rgb(24, 215, 15);
   }

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(117, 87%, 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 #18d70f

RGB Code Hex Code Preview
rgb(24, 215, 15, 10%) #18d70f1a  
rgb(24, 215, 15, 20%) #18d70f33  
rgb(24, 215, 15, 40%) #18d70f4C  
rgb(24, 215, 15, 60%) #18d70f99  
rgb(24, 215, 15, 80%) #18d70fCC  
rgb(24, 215, 15, 100%) #18d70fFF  

Saturated and desaturated colors of #18d70f

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

#18d70f Color Usage In CSS

 body {
    color: #18d70f;
    }
 p {
    color: rgb(24, 215, 15);
    }
 header {
    border-bottom:1px solid #18d70f;
    }
Recent Random Colors