Random Color Generator

#8120d8 Color

Color Codes
Hex Code #8120d8
RGB Code rgb(129, 32, 216)
HSL Code hsl(272, 74%, 49%)

#8120d8 Color Syntax

rgb()

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

 main {
    background-color: rgb(129, 32, 216);
   }

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(272, 74%, 49%);
  }

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 #8120d8

RGB Code Hex Code Preview
rgb(129, 32, 216, 10%) #8120d81a  
rgb(129, 32, 216, 20%) #8120d833  
rgb(129, 32, 216, 40%) #8120d84C  
rgb(129, 32, 216, 60%) #8120d899  
rgb(129, 32, 216, 80%) #8120d8CC  
rgb(129, 32, 216, 100%) #8120d8FF  

Saturated and desaturated colors of #8120d8

HSL Code Preview
hsl(272, 10%, 49%)  
hsl(272, 20%, 49%)  
hsl(272, 40%, 49%)  
hsl(272, 60%, 49%)  
hsl(272, 80%, 49%)  
hsl(272, 100%, 49%)  

#8120d8 Color Usage In CSS

 body {
    color: #8120d8;
    }
 p {
    color: rgb(129, 32, 216);
    }
 header {
    border-bottom:1px solid #8120d8;
    }
Recent Random Colors