Random Color Generator

#c15872 Color

Color Codes
Hex Code #c15872
RGB Code rgb(193, 88, 114)
HSL Code hsl(345, 46%, 55%)

#c15872 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 88, 114);
   }

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(345, 46%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(193, 88, 114, 10%) #c158721a  
rgb(193, 88, 114, 20%) #c1587233  
rgb(193, 88, 114, 40%) #c158724C  
rgb(193, 88, 114, 60%) #c1587299  
rgb(193, 88, 114, 80%) #c15872CC  
rgb(193, 88, 114, 100%) #c15872FF  

Saturated and desaturated colors of #c15872

HSL Code Preview
hsl(345, 10%, 55%)  
hsl(345, 20%, 55%)  
hsl(345, 40%, 55%)  
hsl(345, 60%, 55%)  
hsl(345, 80%, 55%)  
hsl(345, 100%, 55%)  

#c15872 Color Usage In CSS

 body {
    color: #c15872;
    }
 p {
    color: rgb(193, 88, 114);
    }
 header {
    border-bottom:1px solid #c15872;
    }
Recent Random Colors