Random Color Generator

#475f26 Color

Color Codes
Hex Code #475f26
RGB Code rgb(71, 95, 38)
HSL Code hsl(85, 43%, 26%)

#475f26 Color Syntax

rgb()

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

 main {
    background-color: rgb(71, 95, 38);
   }

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(85, 43%, 26%);
  }

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 #475f26

RGB Code Hex Code Preview
rgb(71, 95, 38, 10%) #475f261a  
rgb(71, 95, 38, 20%) #475f2633  
rgb(71, 95, 38, 40%) #475f264C  
rgb(71, 95, 38, 60%) #475f2699  
rgb(71, 95, 38, 80%) #475f26CC  
rgb(71, 95, 38, 100%) #475f26FF  

Saturated and desaturated colors of #475f26

HSL Code Preview
hsl(85, 10%, 26%)  
hsl(85, 20%, 26%)  
hsl(85, 40%, 26%)  
hsl(85, 60%, 26%)  
hsl(85, 80%, 26%)  
hsl(85, 100%, 26%)  

#475f26 Color Usage In CSS

 body {
    color: #475f26;
    }
 p {
    color: rgb(71, 95, 38);
    }
 header {
    border-bottom:1px solid #475f26;
    }
Recent Random Colors