Random Color Generator

#404656 Color

Color Codes
Hex Code #404656
RGB Code rgb(64, 70, 86)
HSL Code hsl(224, 15%, 29%)

#404656 Color Syntax

rgb()

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

 main {
    background-color: rgb(64, 70, 86);
   }

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(224, 15%, 29%);
  }

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

RGB Code Hex Code Preview
rgb(64, 70, 86, 10%) #4046561a  
rgb(64, 70, 86, 20%) #40465633  
rgb(64, 70, 86, 40%) #4046564C  
rgb(64, 70, 86, 60%) #40465699  
rgb(64, 70, 86, 80%) #404656CC  
rgb(64, 70, 86, 100%) #404656FF  

Saturated and desaturated colors of #404656

HSL Code Preview
hsl(224, 10%, 29%)  
hsl(224, 20%, 29%)  
hsl(224, 40%, 29%)  
hsl(224, 60%, 29%)  
hsl(224, 80%, 29%)  
hsl(224, 100%, 29%)  

#404656 Color Usage In CSS

 body {
    color: #404656;
    }
 p {
    color: rgb(64, 70, 86);
    }
 header {
    border-bottom:1px solid #404656;
    }
Recent Random Colors