Random Color Generator

#4601ae Color

Color Codes
Hex Code #4601ae
RGB Code rgb(70, 01, 174)
HSL Code hsl(264, 99%, 34%)

#4601ae Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 01, 174);
   }

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(264, 99%, 34%);
  }

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 #4601ae

RGB Code Hex Code Preview
rgb(70, 01, 174, 10%) #4601ae1a  
rgb(70, 01, 174, 20%) #4601ae33  
rgb(70, 01, 174, 40%) #4601ae4C  
rgb(70, 01, 174, 60%) #4601ae99  
rgb(70, 01, 174, 80%) #4601aeCC  
rgb(70, 01, 174, 100%) #4601aeFF  

Saturated and desaturated colors of #4601ae

HSL Code Preview
hsl(264, 10%, 34%)  
hsl(264, 20%, 34%)  
hsl(264, 40%, 34%)  
hsl(264, 60%, 34%)  
hsl(264, 80%, 34%)  
hsl(264, 100%, 34%)  

#4601ae Color Usage In CSS

 body {
    color: #4601ae;
    }
 p {
    color: rgb(70, 01, 174);
    }
 header {
    border-bottom:1px solid #4601ae;
    }
Recent Random Colors