Random Color Generator

#127f1c Color

Color Codes
Hex Code #127f1c
RGB Code rgb(18, 127, 28)
HSL Code hsl(126, 75%, 28%)

#127f1c Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 127, 28);
   }

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, 75%, 28%);
  }

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 #127f1c

RGB Code Hex Code Preview
rgb(18, 127, 28, 10%) #127f1c1a  
rgb(18, 127, 28, 20%) #127f1c33  
rgb(18, 127, 28, 40%) #127f1c4C  
rgb(18, 127, 28, 60%) #127f1c99  
rgb(18, 127, 28, 80%) #127f1cCC  
rgb(18, 127, 28, 100%) #127f1cFF  

Saturated and desaturated colors of #127f1c

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

#127f1c Color Usage In CSS

 body {
    color: #127f1c;
    }
 p {
    color: rgb(18, 127, 28);
    }
 header {
    border-bottom:1px solid #127f1c;
    }
Recent Random Colors