Random Color Generator

#1ad122 Color

Color Codes
Hex Code #1ad122
RGB Code rgb(26, 209, 34)
HSL Code hsl(123, 78%, 46%)

#1ad122 Color Syntax

rgb()

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

 main {
    background-color: rgb(26, 209, 34);
   }

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(123, 78%, 46%);
  }

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 #1ad122

RGB Code Hex Code Preview
rgb(26, 209, 34, 10%) #1ad1221a  
rgb(26, 209, 34, 20%) #1ad12233  
rgb(26, 209, 34, 40%) #1ad1224C  
rgb(26, 209, 34, 60%) #1ad12299  
rgb(26, 209, 34, 80%) #1ad122CC  
rgb(26, 209, 34, 100%) #1ad122FF  

Saturated and desaturated colors of #1ad122

HSL Code Preview
hsl(123, 10%, 46%)  
hsl(123, 20%, 46%)  
hsl(123, 40%, 46%)  
hsl(123, 60%, 46%)  
hsl(123, 80%, 46%)  
hsl(123, 100%, 46%)  

#1ad122 Color Usage In CSS

 body {
    color: #1ad122;
    }
 p {
    color: rgb(26, 209, 34);
    }
 header {
    border-bottom:1px solid #1ad122;
    }
Recent Random Colors