Random Color Generator

#c51680 Color

Color Codes
Hex Code #c51680
RGB Code rgb(197, 22, 128)
HSL Code hsl(324, 80%, 43%)

#c51680 Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 22, 128);
   }

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(324, 80%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(197, 22, 128, 10%) #c516801a  
rgb(197, 22, 128, 20%) #c5168033  
rgb(197, 22, 128, 40%) #c516804C  
rgb(197, 22, 128, 60%) #c5168099  
rgb(197, 22, 128, 80%) #c51680CC  
rgb(197, 22, 128, 100%) #c51680FF  

Saturated and desaturated colors of #c51680

HSL Code Preview
hsl(324, 10%, 43%)  
hsl(324, 20%, 43%)  
hsl(324, 40%, 43%)  
hsl(324, 60%, 43%)  
hsl(324, 80%, 43%)  
hsl(324, 100%, 43%)  

#c51680 Color Usage In CSS

 body {
    color: #c51680;
    }
 p {
    color: rgb(197, 22, 128);
    }
 header {
    border-bottom:1px solid #c51680;
    }
Recent Random Colors