Random Color Generator

#3f4849 Color

Color Codes
Hex Code #3f4849
RGB Code rgb(63, 72, 73)
HSL Code hsl(186, 7%, 27%)

#3f4849 Color Syntax

rgb()

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

 main {
    background-color: rgb(63, 72, 73);
   }

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(186, 7%, 27%);
  }

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 #3f4849

RGB Code Hex Code Preview
rgb(63, 72, 73, 10%) #3f48491a  
rgb(63, 72, 73, 20%) #3f484933  
rgb(63, 72, 73, 40%) #3f48494C  
rgb(63, 72, 73, 60%) #3f484999  
rgb(63, 72, 73, 80%) #3f4849CC  
rgb(63, 72, 73, 100%) #3f4849FF  

Saturated and desaturated colors of #3f4849

HSL Code Preview
hsl(186, 10%, 27%)  
hsl(186, 20%, 27%)  
hsl(186, 40%, 27%)  
hsl(186, 60%, 27%)  
hsl(186, 80%, 27%)  
hsl(186, 100%, 27%)  

#3f4849 Color Usage In CSS

 body {
    color: #3f4849;
    }
 p {
    color: rgb(63, 72, 73);
    }
 header {
    border-bottom:1px solid #3f4849;
    }
Recent Random Colors