Random Color Generator

#c81f94 Color

Color Codes
Hex Code #c81f94
RGB Code rgb(200, 31, 148)
HSL Code hsl(318, 73%, 45%)

#c81f94 Color Syntax

rgb()

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

 main {
    background-color: rgb(200, 31, 148);
   }

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(318, 73%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(200, 31, 148, 10%) #c81f941a  
rgb(200, 31, 148, 20%) #c81f9433  
rgb(200, 31, 148, 40%) #c81f944C  
rgb(200, 31, 148, 60%) #c81f9499  
rgb(200, 31, 148, 80%) #c81f94CC  
rgb(200, 31, 148, 100%) #c81f94FF  

Saturated and desaturated colors of #c81f94

HSL Code Preview
hsl(318, 10%, 45%)  
hsl(318, 20%, 45%)  
hsl(318, 40%, 45%)  
hsl(318, 60%, 45%)  
hsl(318, 80%, 45%)  
hsl(318, 100%, 45%)  

#c81f94 Color Usage In CSS

 body {
    color: #c81f94;
    }
 p {
    color: rgb(200, 31, 148);
    }
 header {
    border-bottom:1px solid #c81f94;
    }
Recent Random Colors