Random Color Generator

#450f85 Color

Color Codes
Hex Code #450f85
RGB Code rgb(69, 15, 133)
HSL Code hsl(267, 80%, 29%)

#450f85 Color Syntax

rgb()

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

 main {
    background-color: rgb(69, 15, 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(267, 80%, 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 #450f85

RGB Code Hex Code Preview
rgb(69, 15, 133, 10%) #450f851a  
rgb(69, 15, 133, 20%) #450f8533  
rgb(69, 15, 133, 40%) #450f854C  
rgb(69, 15, 133, 60%) #450f8599  
rgb(69, 15, 133, 80%) #450f85CC  
rgb(69, 15, 133, 100%) #450f85FF  

Saturated and desaturated colors of #450f85

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

#450f85 Color Usage In CSS

 body {
    color: #450f85;
    }
 p {
    color: rgb(69, 15, 133);
    }
 header {
    border-bottom:1px solid #450f85;
    }
Recent Random Colors