Random Color Generator

#c61270 Color

Color Codes
Hex Code #c61270
RGB Code rgb(198, 18, 112)
HSL Code hsl(329, 83%, 42%)

#c61270 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 18, 112);
   }

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, 83%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(198, 18, 112, 10%) #c612701a  
rgb(198, 18, 112, 20%) #c6127033  
rgb(198, 18, 112, 40%) #c612704C  
rgb(198, 18, 112, 60%) #c6127099  
rgb(198, 18, 112, 80%) #c61270CC  
rgb(198, 18, 112, 100%) #c61270FF  

Saturated and desaturated colors of #c61270

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

#c61270 Color Usage In CSS

 body {
    color: #c61270;
    }
 p {
    color: rgb(198, 18, 112);
    }
 header {
    border-bottom:1px solid #c61270;
    }
Recent Random Colors