Random Color Generator

#404985 Color

Color Codes
Hex Code #404985
RGB Code rgb(64, 73, 133)
HSL Code hsl(232, 35%, 39%)

#404985 Color Syntax

rgb()

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

 main {
    background-color: rgb(64, 73, 133);
   }

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(232, 35%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(64, 73, 133, 10%) #4049851a  
rgb(64, 73, 133, 20%) #40498533  
rgb(64, 73, 133, 40%) #4049854C  
rgb(64, 73, 133, 60%) #40498599  
rgb(64, 73, 133, 80%) #404985CC  
rgb(64, 73, 133, 100%) #404985FF  

Saturated and desaturated colors of #404985

HSL Code Preview
hsl(232, 10%, 39%)  
hsl(232, 20%, 39%)  
hsl(232, 40%, 39%)  
hsl(232, 60%, 39%)  
hsl(232, 80%, 39%)  
hsl(232, 100%, 39%)  

#404985 Color Usage In CSS

 body {
    color: #404985;
    }
 p {
    color: rgb(64, 73, 133);
    }
 header {
    border-bottom:1px solid #404985;
    }
Recent Random Colors