Random Color Generator

#c60252 Color

Color Codes
Hex Code #c60252
RGB Code rgb(198, 02, 82)
HSL Code hsl(336, 98%, 39%)

#c60252 Color Syntax

rgb()

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

 main {
    background-color: rgb(198, 02, 82);
   }

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(336, 98%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(198, 02, 82, 10%) #c602521a  
rgb(198, 02, 82, 20%) #c6025233  
rgb(198, 02, 82, 40%) #c602524C  
rgb(198, 02, 82, 60%) #c6025299  
rgb(198, 02, 82, 80%) #c60252CC  
rgb(198, 02, 82, 100%) #c60252FF  

Saturated and desaturated colors of #c60252

HSL Code Preview
hsl(336, 10%, 39%)  
hsl(336, 20%, 39%)  
hsl(336, 40%, 39%)  
hsl(336, 60%, 39%)  
hsl(336, 80%, 39%)  
hsl(336, 100%, 39%)  

#c60252 Color Usage In CSS

 body {
    color: #c60252;
    }
 p {
    color: rgb(198, 02, 82);
    }
 header {
    border-bottom:1px solid #c60252;
    }
Recent Random Colors