Random Color Generator

#413093 Color

Color Codes
Hex Code #413093
RGB Code rgb(65, 48, 147)
HSL Code hsl(250, 51%, 38%)

#413093 Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 48, 147);
   }

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(250, 51%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(65, 48, 147, 10%) #4130931a  
rgb(65, 48, 147, 20%) #41309333  
rgb(65, 48, 147, 40%) #4130934C  
rgb(65, 48, 147, 60%) #41309399  
rgb(65, 48, 147, 80%) #413093CC  
rgb(65, 48, 147, 100%) #413093FF  

Saturated and desaturated colors of #413093

HSL Code Preview
hsl(250, 10%, 38%)  
hsl(250, 20%, 38%)  
hsl(250, 40%, 38%)  
hsl(250, 60%, 38%)  
hsl(250, 80%, 38%)  
hsl(250, 100%, 38%)  

#413093 Color Usage In CSS

 body {
    color: #413093;
    }
 p {
    color: rgb(65, 48, 147);
    }
 header {
    border-bottom:1px solid #413093;
    }
Recent Random Colors