Random Color Generator

#3b0afc Color

Color Codes
Hex Code #3b0afc
RGB Code rgb(59, 10, 252)
HSL Code hsl(252, 98%, 51%)

#3b0afc Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 10, 252);
   }

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(252, 98%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(59, 10, 252, 10%) #3b0afc1a  
rgb(59, 10, 252, 20%) #3b0afc33  
rgb(59, 10, 252, 40%) #3b0afc4C  
rgb(59, 10, 252, 60%) #3b0afc99  
rgb(59, 10, 252, 80%) #3b0afcCC  
rgb(59, 10, 252, 100%) #3b0afcFF  

Saturated and desaturated colors of #3b0afc

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

#3b0afc Color Usage In CSS

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