Random Color Generator

#1c6331 Color

Color Codes
Hex Code #1c6331
RGB Code rgb(28, 99, 49)
HSL Code hsl(138, 56%, 25%)

#1c6331 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 99, 49);
   }

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(138, 56%, 25%);
  }

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

RGB Code Hex Code Preview
rgb(28, 99, 49, 10%) #1c63311a  
rgb(28, 99, 49, 20%) #1c633133  
rgb(28, 99, 49, 40%) #1c63314C  
rgb(28, 99, 49, 60%) #1c633199  
rgb(28, 99, 49, 80%) #1c6331CC  
rgb(28, 99, 49, 100%) #1c6331FF  

Saturated and desaturated colors of #1c6331

HSL Code Preview
hsl(138, 10%, 25%)  
hsl(138, 20%, 25%)  
hsl(138, 40%, 25%)  
hsl(138, 60%, 25%)  
hsl(138, 80%, 25%)  
hsl(138, 100%, 25%)  

#1c6331 Color Usage In CSS

 body {
    color: #1c6331;
    }
 p {
    color: rgb(28, 99, 49);
    }
 header {
    border-bottom:1px solid #1c6331;
    }
Recent Random Colors