Random Color Generator

#3e468f Color

Color Codes
Hex Code #3e468f
RGB Code rgb(62, 70, 143)
HSL Code hsl(234, 40%, 40%)

#3e468f Color Syntax

rgb()

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

 main {
    background-color: rgb(62, 70, 143);
   }

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(234, 40%, 40%);
  }

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 #3e468f

RGB Code Hex Code Preview
rgb(62, 70, 143, 10%) #3e468f1a  
rgb(62, 70, 143, 20%) #3e468f33  
rgb(62, 70, 143, 40%) #3e468f4C  
rgb(62, 70, 143, 60%) #3e468f99  
rgb(62, 70, 143, 80%) #3e468fCC  
rgb(62, 70, 143, 100%) #3e468fFF  

Saturated and desaturated colors of #3e468f

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

#3e468f Color Usage In CSS

 body {
    color: #3e468f;
    }
 p {
    color: rgb(62, 70, 143);
    }
 header {
    border-bottom:1px solid #3e468f;
    }
Recent Random Colors