Random Color Generator

#3b22d9 Color

Color Codes
Hex Code #3b22d9
RGB Code rgb(59, 34, 217)
HSL Code hsl(248, 73%, 49%)

#3b22d9 Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 34, 217);
   }

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(248, 73%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(59, 34, 217, 10%) #3b22d91a  
rgb(59, 34, 217, 20%) #3b22d933  
rgb(59, 34, 217, 40%) #3b22d94C  
rgb(59, 34, 217, 60%) #3b22d999  
rgb(59, 34, 217, 80%) #3b22d9CC  
rgb(59, 34, 217, 100%) #3b22d9FF  

Saturated and desaturated colors of #3b22d9

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

#3b22d9 Color Usage In CSS

 body {
    color: #3b22d9;
    }
 p {
    color: rgb(59, 34, 217);
    }
 header {
    border-bottom:1px solid #3b22d9;
    }
Recent Random Colors