Random Color Generator

#a330bd Color

Color Codes
Hex Code #a330bd
RGB Code rgb(163, 48, 189)
HSL Code hsl(289, 59%, 46%)

#a330bd Color Syntax

rgb()

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

 main {
    background-color: rgb(163, 48, 189);
   }

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(289, 59%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(163, 48, 189, 10%) #a330bd1a  
rgb(163, 48, 189, 20%) #a330bd33  
rgb(163, 48, 189, 40%) #a330bd4C  
rgb(163, 48, 189, 60%) #a330bd99  
rgb(163, 48, 189, 80%) #a330bdCC  
rgb(163, 48, 189, 100%) #a330bdFF  

Saturated and desaturated colors of #a330bd

HSL Code Preview
hsl(289, 10%, 46%)  
hsl(289, 20%, 46%)  
hsl(289, 40%, 46%)  
hsl(289, 60%, 46%)  
hsl(289, 80%, 46%)  
hsl(289, 100%, 46%)  

#a330bd Color Usage In CSS

 body {
    color: #a330bd;
    }
 p {
    color: rgb(163, 48, 189);
    }
 header {
    border-bottom:1px solid #a330bd;
    }
Recent Random Colors