Random Color Generator

#3b30db Color

Color Codes
Hex Code #3b30db
RGB Code rgb(59, 48, 219)
HSL Code hsl(244, 70%, 52%)

#3b30db Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 48, 219);
   }

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(244, 70%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(59, 48, 219, 10%) #3b30db1a  
rgb(59, 48, 219, 20%) #3b30db33  
rgb(59, 48, 219, 40%) #3b30db4C  
rgb(59, 48, 219, 60%) #3b30db99  
rgb(59, 48, 219, 80%) #3b30dbCC  
rgb(59, 48, 219, 100%) #3b30dbFF  

Saturated and desaturated colors of #3b30db

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

#3b30db Color Usage In CSS

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