Random Color Generator

#8d0081 Color

Color Codes
Hex Code #8d0081
RGB Code rgb(141, 00, 129)
HSL Code hsl(305, 100%, 28%)

#8d0081 Color Syntax

rgb()

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

 main {
    background-color: rgb(141, 00, 129);
   }

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(305, 100%, 28%);
  }

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 #8d0081

RGB Code Hex Code Preview
rgb(141, 00, 129, 10%) #8d00811a  
rgb(141, 00, 129, 20%) #8d008133  
rgb(141, 00, 129, 40%) #8d00814C  
rgb(141, 00, 129, 60%) #8d008199  
rgb(141, 00, 129, 80%) #8d0081CC  
rgb(141, 00, 129, 100%) #8d0081FF  

Saturated and desaturated colors of #8d0081

HSL Code Preview
hsl(305, 10%, 28%)  
hsl(305, 20%, 28%)  
hsl(305, 40%, 28%)  
hsl(305, 60%, 28%)  
hsl(305, 80%, 28%)  
hsl(305, 100%, 28%)  

#8d0081 Color Usage In CSS

 body {
    color: #8d0081;
    }
 p {
    color: rgb(141, 00, 129);
    }
 header {
    border-bottom:1px solid #8d0081;
    }
Recent Random Colors