Random Color Generator

#c12e66 Color

Color Codes
Hex Code #c12e66
RGB Code rgb(193, 46, 102)
HSL Code hsl(337, 62%, 47%)

#c12e66 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 46, 102);
   }

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(337, 62%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(193, 46, 102, 10%) #c12e661a  
rgb(193, 46, 102, 20%) #c12e6633  
rgb(193, 46, 102, 40%) #c12e664C  
rgb(193, 46, 102, 60%) #c12e6699  
rgb(193, 46, 102, 80%) #c12e66CC  
rgb(193, 46, 102, 100%) #c12e66FF  

Saturated and desaturated colors of #c12e66

HSL Code Preview
hsl(337, 10%, 47%)  
hsl(337, 20%, 47%)  
hsl(337, 40%, 47%)  
hsl(337, 60%, 47%)  
hsl(337, 80%, 47%)  
hsl(337, 100%, 47%)  

#c12e66 Color Usage In CSS

 body {
    color: #c12e66;
    }
 p {
    color: rgb(193, 46, 102);
    }
 header {
    border-bottom:1px solid #c12e66;
    }
Recent Random Colors