Random Color Generator

#41247e Color

Color Codes
Hex Code #41247e
RGB Code rgb(65, 36, 126)
HSL Code hsl(259, 56%, 32%)

#41247e Color Syntax

rgb()

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

 main {
    background-color: rgb(65, 36, 126);
   }

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(259, 56%, 32%);
  }

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 #41247e

RGB Code Hex Code Preview
rgb(65, 36, 126, 10%) #41247e1a  
rgb(65, 36, 126, 20%) #41247e33  
rgb(65, 36, 126, 40%) #41247e4C  
rgb(65, 36, 126, 60%) #41247e99  
rgb(65, 36, 126, 80%) #41247eCC  
rgb(65, 36, 126, 100%) #41247eFF  

Saturated and desaturated colors of #41247e

HSL Code Preview
hsl(259, 10%, 32%)  
hsl(259, 20%, 32%)  
hsl(259, 40%, 32%)  
hsl(259, 60%, 32%)  
hsl(259, 80%, 32%)  
hsl(259, 100%, 32%)  

#41247e Color Usage In CSS

 body {
    color: #41247e;
    }
 p {
    color: rgb(65, 36, 126);
    }
 header {
    border-bottom:1px solid #41247e;
    }
Recent Random Colors