Random Color Generator

#a403e6 Color

Color Codes
Hex Code #a403e6
RGB Code rgb(164, 03, 230)
HSL Code hsl(283, 97%, 46%)

#a403e6 Color Syntax

rgb()

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

 main {
    background-color: rgb(164, 03, 230);
   }

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(283, 97%, 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 #a403e6

RGB Code Hex Code Preview
rgb(164, 03, 230, 10%) #a403e61a  
rgb(164, 03, 230, 20%) #a403e633  
rgb(164, 03, 230, 40%) #a403e64C  
rgb(164, 03, 230, 60%) #a403e699  
rgb(164, 03, 230, 80%) #a403e6CC  
rgb(164, 03, 230, 100%) #a403e6FF  

Saturated and desaturated colors of #a403e6

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

#a403e6 Color Usage In CSS

 body {
    color: #a403e6;
    }
 p {
    color: rgb(164, 03, 230);
    }
 header {
    border-bottom:1px solid #a403e6;
    }
Recent Random Colors