Random Color Generator

#a13197 Color

Color Codes
Hex Code #a13197
RGB Code rgb(161, 49, 151)
HSL Code hsl(305, 53%, 41%)

#a13197 Color Syntax

rgb()

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

 main {
    background-color: rgb(161, 49, 151);
   }

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, 53%, 41%);
  }

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 #a13197

RGB Code Hex Code Preview
rgb(161, 49, 151, 10%) #a131971a  
rgb(161, 49, 151, 20%) #a1319733  
rgb(161, 49, 151, 40%) #a131974C  
rgb(161, 49, 151, 60%) #a1319799  
rgb(161, 49, 151, 80%) #a13197CC  
rgb(161, 49, 151, 100%) #a13197FF  

Saturated and desaturated colors of #a13197

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

#a13197 Color Usage In CSS

 body {
    color: #a13197;
    }
 p {
    color: rgb(161, 49, 151);
    }
 header {
    border-bottom:1px solid #a13197;
    }
Recent Random Colors