Random Color Generator

#a0245a Color

Color Codes
Hex Code #a0245a
RGB Code rgb(160, 36, 90)
HSL Code hsl(334, 63%, 38%)

#a0245a Color Syntax

rgb()

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

 main {
    background-color: rgb(160, 36, 90);
   }

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(334, 63%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(160, 36, 90, 10%) #a0245a1a  
rgb(160, 36, 90, 20%) #a0245a33  
rgb(160, 36, 90, 40%) #a0245a4C  
rgb(160, 36, 90, 60%) #a0245a99  
rgb(160, 36, 90, 80%) #a0245aCC  
rgb(160, 36, 90, 100%) #a0245aFF  

Saturated and desaturated colors of #a0245a

HSL Code Preview
hsl(334, 10%, 38%)  
hsl(334, 20%, 38%)  
hsl(334, 40%, 38%)  
hsl(334, 60%, 38%)  
hsl(334, 80%, 38%)  
hsl(334, 100%, 38%)  

#a0245a Color Usage In CSS

 body {
    color: #a0245a;
    }
 p {
    color: rgb(160, 36, 90);
    }
 header {
    border-bottom:1px solid #a0245a;
    }
Recent Random Colors