Random Color Generator

#3f4851 Color

Color Codes
Hex Code #3f4851
RGB Code rgb(63, 72, 81)
HSL Code hsl(210, 13%, 28%)

#3f4851 Color Syntax

rgb()

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

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

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(210, 13%, 28%);
  }

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

RGB Code Hex Code Preview
rgb(63, 72, 81, 10%) #3f48511a  
rgb(63, 72, 81, 20%) #3f485133  
rgb(63, 72, 81, 40%) #3f48514C  
rgb(63, 72, 81, 60%) #3f485199  
rgb(63, 72, 81, 80%) #3f4851CC  
rgb(63, 72, 81, 100%) #3f4851FF  

Saturated and desaturated colors of #3f4851

HSL Code Preview
hsl(210, 10%, 28%)  
hsl(210, 20%, 28%)  
hsl(210, 40%, 28%)  
hsl(210, 60%, 28%)  
hsl(210, 80%, 28%)  
hsl(210, 100%, 28%)  

#3f4851 Color Usage In CSS

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