Random Color Generator

#7214dd Color

Color Codes
Hex Code #7214dd
RGB Code rgb(114, 20, 221)
HSL Code hsl(268, 83%, 47%)

#7214dd Color Syntax

rgb()

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

 main {
    background-color: rgb(114, 20, 221);
   }

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(268, 83%, 47%);
  }

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 #7214dd

RGB Code Hex Code Preview
rgb(114, 20, 221, 10%) #7214dd1a  
rgb(114, 20, 221, 20%) #7214dd33  
rgb(114, 20, 221, 40%) #7214dd4C  
rgb(114, 20, 221, 60%) #7214dd99  
rgb(114, 20, 221, 80%) #7214ddCC  
rgb(114, 20, 221, 100%) #7214ddFF  

Saturated and desaturated colors of #7214dd

HSL Code Preview
hsl(268, 10%, 47%)  
hsl(268, 20%, 47%)  
hsl(268, 40%, 47%)  
hsl(268, 60%, 47%)  
hsl(268, 80%, 47%)  
hsl(268, 100%, 47%)  

#7214dd Color Usage In CSS

 body {
    color: #7214dd;
    }
 p {
    color: rgb(114, 20, 221);
    }
 header {
    border-bottom:1px solid #7214dd;
    }
Recent Random Colors