Random Color Generator

#462abd Color

Color Codes
Hex Code #462abd
RGB Code rgb(70, 42, 189)
HSL Code hsl(251, 64%, 45%)

#462abd Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 42, 189);
   }

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(251, 64%, 45%);
  }

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 #462abd

RGB Code Hex Code Preview
rgb(70, 42, 189, 10%) #462abd1a  
rgb(70, 42, 189, 20%) #462abd33  
rgb(70, 42, 189, 40%) #462abd4C  
rgb(70, 42, 189, 60%) #462abd99  
rgb(70, 42, 189, 80%) #462abdCC  
rgb(70, 42, 189, 100%) #462abdFF  

Saturated and desaturated colors of #462abd

HSL Code Preview
hsl(251, 10%, 45%)  
hsl(251, 20%, 45%)  
hsl(251, 40%, 45%)  
hsl(251, 60%, 45%)  
hsl(251, 80%, 45%)  
hsl(251, 100%, 45%)  

#462abd Color Usage In CSS

 body {
    color: #462abd;
    }
 p {
    color: rgb(70, 42, 189);
    }
 header {
    border-bottom:1px solid #462abd;
    }
Recent Random Colors