Random Color Generator

#462bcb Color

Color Codes
Hex Code #462bcb
RGB Code rgb(70, 43, 203)
HSL Code hsl(250, 65%, 48%)

#462bcb Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 43, 203);
   }

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, 65%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(70, 43, 203, 10%) #462bcb1a  
rgb(70, 43, 203, 20%) #462bcb33  
rgb(70, 43, 203, 40%) #462bcb4C  
rgb(70, 43, 203, 60%) #462bcb99  
rgb(70, 43, 203, 80%) #462bcbCC  
rgb(70, 43, 203, 100%) #462bcbFF  

Saturated and desaturated colors of #462bcb

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

#462bcb Color Usage In CSS

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