Random Color Generator

#ac4bed Color

Color Codes
Hex Code #ac4bed
RGB Code rgb(172, 75, 237)
HSL Code hsl(276, 82%, 61%)

#ac4bed Color Syntax

rgb()

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

 main {
    background-color: rgb(172, 75, 237);
   }

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(276, 82%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(172, 75, 237, 10%) #ac4bed1a  
rgb(172, 75, 237, 20%) #ac4bed33  
rgb(172, 75, 237, 40%) #ac4bed4C  
rgb(172, 75, 237, 60%) #ac4bed99  
rgb(172, 75, 237, 80%) #ac4bedCC  
rgb(172, 75, 237, 100%) #ac4bedFF  

Saturated and desaturated colors of #ac4bed

HSL Code Preview
hsl(276, 10%, 61%)  
hsl(276, 20%, 61%)  
hsl(276, 40%, 61%)  
hsl(276, 60%, 61%)  
hsl(276, 80%, 61%)  
hsl(276, 100%, 61%)  

#ac4bed Color Usage In CSS

 body {
    color: #ac4bed;
    }
 p {
    color: rgb(172, 75, 237);
    }
 header {
    border-bottom:1px solid #ac4bed;
    }
Recent Random Colors