Random Color Generator

#3214fd Color

Color Codes
Hex Code #3214fd
RGB Code rgb(50, 20, 253)
HSL Code hsl(248, 98%, 54%)

#3214fd Color Syntax

rgb()

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

 main {
    background-color: rgb(50, 20, 253);
   }

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, 98%, 54%);
  }

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 #3214fd

RGB Code Hex Code Preview
rgb(50, 20, 253, 10%) #3214fd1a  
rgb(50, 20, 253, 20%) #3214fd33  
rgb(50, 20, 253, 40%) #3214fd4C  
rgb(50, 20, 253, 60%) #3214fd99  
rgb(50, 20, 253, 80%) #3214fdCC  
rgb(50, 20, 253, 100%) #3214fdFF  

Saturated and desaturated colors of #3214fd

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

#3214fd Color Usage In CSS

 body {
    color: #3214fd;
    }
 p {
    color: rgb(50, 20, 253);
    }
 header {
    border-bottom:1px solid #3214fd;
    }
Recent Random Colors