Random Color Generator

#c381a3 Color

Color Codes
Hex Code #c381a3
RGB Code rgb(195, 129, 163)
HSL Code hsl(329, 35%, 64%)

#c381a3 Color Syntax

rgb()

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

 main {
    background-color: rgb(195, 129, 163);
   }

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(329, 35%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(195, 129, 163, 10%) #c381a31a  
rgb(195, 129, 163, 20%) #c381a333  
rgb(195, 129, 163, 40%) #c381a34C  
rgb(195, 129, 163, 60%) #c381a399  
rgb(195, 129, 163, 80%) #c381a3CC  
rgb(195, 129, 163, 100%) #c381a3FF  

Saturated and desaturated colors of #c381a3

HSL Code Preview
hsl(329, 10%, 64%)  
hsl(329, 20%, 64%)  
hsl(329, 40%, 64%)  
hsl(329, 60%, 64%)  
hsl(329, 80%, 64%)  
hsl(329, 100%, 64%)  

#c381a3 Color Usage In CSS

 body {
    color: #c381a3;
    }
 p {
    color: rgb(195, 129, 163);
    }
 header {
    border-bottom:1px solid #c381a3;
    }
Recent Random Colors