Random Color Generator

#7ca331 Color

Color Codes
Hex Code #7ca331
RGB Code rgb(124, 163, 49)
HSL Code hsl(81, 54%, 42%)

#7ca331 Color Syntax

rgb()

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

 main {
    background-color: rgb(124, 163, 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(81, 54%, 42%);
  }

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 #7ca331

RGB Code Hex Code Preview
rgb(124, 163, 49, 10%) #7ca3311a  
rgb(124, 163, 49, 20%) #7ca33133  
rgb(124, 163, 49, 40%) #7ca3314C  
rgb(124, 163, 49, 60%) #7ca33199  
rgb(124, 163, 49, 80%) #7ca331CC  
rgb(124, 163, 49, 100%) #7ca331FF  

Saturated and desaturated colors of #7ca331

HSL Code Preview
hsl(81, 10%, 42%)  
hsl(81, 20%, 42%)  
hsl(81, 40%, 42%)  
hsl(81, 60%, 42%)  
hsl(81, 80%, 42%)  
hsl(81, 100%, 42%)  

#7ca331 Color Usage In CSS

 body {
    color: #7ca331;
    }
 p {
    color: rgb(124, 163, 49);
    }
 header {
    border-bottom:1px solid #7ca331;
    }
Recent Random Colors