Random Color Generator

#3f00ad Color

Color Codes
Hex Code #3f00ad
RGB Code rgb(63, 00, 173)
HSL Code hsl(262, 100%, 34%)

#3f00ad Color Syntax

rgb()

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

 main {
    background-color: rgb(63, 00, 173);
   }

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(262, 100%, 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 #3f00ad

RGB Code Hex Code Preview
rgb(63, 00, 173, 10%) #3f00ad1a  
rgb(63, 00, 173, 20%) #3f00ad33  
rgb(63, 00, 173, 40%) #3f00ad4C  
rgb(63, 00, 173, 60%) #3f00ad99  
rgb(63, 00, 173, 80%) #3f00adCC  
rgb(63, 00, 173, 100%) #3f00adFF  

Saturated and desaturated colors of #3f00ad

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

#3f00ad Color Usage In CSS

 body {
    color: #3f00ad;
    }
 p {
    color: rgb(63, 00, 173);
    }
 header {
    border-bottom:1px solid #3f00ad;
    }
Recent Random Colors