Random Color Generator

#a471f4 Color

Color Codes
Hex Code #a471f4
RGB Code rgb(164, 113, 244)
HSL Code hsl(263, 86%, 70%)

#a471f4 Color Syntax

rgb()

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

 main {
    background-color: rgb(164, 113, 244);
   }

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(263, 86%, 70%);
  }

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

RGB Code Hex Code Preview
rgb(164, 113, 244, 10%) #a471f41a  
rgb(164, 113, 244, 20%) #a471f433  
rgb(164, 113, 244, 40%) #a471f44C  
rgb(164, 113, 244, 60%) #a471f499  
rgb(164, 113, 244, 80%) #a471f4CC  
rgb(164, 113, 244, 100%) #a471f4FF  

Saturated and desaturated colors of #a471f4

HSL Code Preview
hsl(263, 10%, 70%)  
hsl(263, 20%, 70%)  
hsl(263, 40%, 70%)  
hsl(263, 60%, 70%)  
hsl(263, 80%, 70%)  
hsl(263, 100%, 70%)  

#a471f4 Color Usage In CSS

 body {
    color: #a471f4;
    }
 p {
    color: rgb(164, 113, 244);
    }
 header {
    border-bottom:1px solid #a471f4;
    }
Recent Random Colors