Random Color Generator

#413662 Color

Color Codes
Hex Code #413662
RGB Code rgb(65, 54, 98)
HSL Code hsl(255, 29%, 30%)

#413662 Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 54, 98);
   }

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(255, 29%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(65, 54, 98, 10%) #4136621a  
rgb(65, 54, 98, 20%) #41366233  
rgb(65, 54, 98, 40%) #4136624C  
rgb(65, 54, 98, 60%) #41366299  
rgb(65, 54, 98, 80%) #413662CC  
rgb(65, 54, 98, 100%) #413662FF  

Saturated and desaturated colors of #413662

HSL Code Preview
hsl(255, 10%, 30%)  
hsl(255, 20%, 30%)  
hsl(255, 40%, 30%)  
hsl(255, 60%, 30%)  
hsl(255, 80%, 30%)  
hsl(255, 100%, 30%)  

#413662 Color Usage In CSS

 body {
    color: #413662;
    }
 p {
    color: rgb(65, 54, 98);
    }
 header {
    border-bottom:1px solid #413662;
    }
Recent Random Colors