Random Color Generator

#612bfa Color

Color Codes
Hex Code #612bfa
RGB Code rgb(97, 43, 250)
HSL Code hsl(256, 95%, 57%)

#612bfa Color Syntax

rgb()

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

 main {
    background-color: rgb(97, 43, 250);
   }

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(256, 95%, 57%);
  }

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 #612bfa

RGB Code Hex Code Preview
rgb(97, 43, 250, 10%) #612bfa1a  
rgb(97, 43, 250, 20%) #612bfa33  
rgb(97, 43, 250, 40%) #612bfa4C  
rgb(97, 43, 250, 60%) #612bfa99  
rgb(97, 43, 250, 80%) #612bfaCC  
rgb(97, 43, 250, 100%) #612bfaFF  

Saturated and desaturated colors of #612bfa

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

#612bfa Color Usage In CSS

 body {
    color: #612bfa;
    }
 p {
    color: rgb(97, 43, 250);
    }
 header {
    border-bottom:1px solid #612bfa;
    }
Recent Random Colors