Random Color Generator

#4b8f61 Color

Color Codes
Hex Code #4b8f61
RGB Code rgb(75, 143, 97)
HSL Code hsl(139, 31%, 43%)

#4b8f61 Color Syntax

rgb()

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

 main {
    background-color: rgb(75, 143, 97);
   }

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(139, 31%, 43%);
  }

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 #4b8f61

RGB Code Hex Code Preview
rgb(75, 143, 97, 10%) #4b8f611a  
rgb(75, 143, 97, 20%) #4b8f6133  
rgb(75, 143, 97, 40%) #4b8f614C  
rgb(75, 143, 97, 60%) #4b8f6199  
rgb(75, 143, 97, 80%) #4b8f61CC  
rgb(75, 143, 97, 100%) #4b8f61FF  

Saturated and desaturated colors of #4b8f61

HSL Code Preview
hsl(139, 10%, 43%)  
hsl(139, 20%, 43%)  
hsl(139, 40%, 43%)  
hsl(139, 60%, 43%)  
hsl(139, 80%, 43%)  
hsl(139, 100%, 43%)  

#4b8f61 Color Usage In CSS

 body {
    color: #4b8f61;
    }
 p {
    color: rgb(75, 143, 97);
    }
 header {
    border-bottom:1px solid #4b8f61;
    }
Recent Random Colors