Random Color Generator

#129f1f Color

Color Codes
Hex Code #129f1f
RGB Code rgb(18, 159, 31)
HSL Code hsl(126, 80%, 35%)

#129f1f Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 159, 31);
   }

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(126, 80%, 35%);
  }

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 #129f1f

RGB Code Hex Code Preview
rgb(18, 159, 31, 10%) #129f1f1a  
rgb(18, 159, 31, 20%) #129f1f33  
rgb(18, 159, 31, 40%) #129f1f4C  
rgb(18, 159, 31, 60%) #129f1f99  
rgb(18, 159, 31, 80%) #129f1fCC  
rgb(18, 159, 31, 100%) #129f1fFF  

Saturated and desaturated colors of #129f1f

HSL Code Preview
hsl(126, 10%, 35%)  
hsl(126, 20%, 35%)  
hsl(126, 40%, 35%)  
hsl(126, 60%, 35%)  
hsl(126, 80%, 35%)  
hsl(126, 100%, 35%)  

#129f1f Color Usage In CSS

 body {
    color: #129f1f;
    }
 p {
    color: rgb(18, 159, 31);
    }
 header {
    border-bottom:1px solid #129f1f;
    }
Recent Random Colors