Random Color Generator

#c15097 Color

Color Codes
Hex Code #c15097
RGB Code rgb(193, 80, 151)
HSL Code hsl(322, 48%, 54%)

#c15097 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 80, 151);
   }

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(322, 48%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(193, 80, 151, 10%) #c150971a  
rgb(193, 80, 151, 20%) #c1509733  
rgb(193, 80, 151, 40%) #c150974C  
rgb(193, 80, 151, 60%) #c1509799  
rgb(193, 80, 151, 80%) #c15097CC  
rgb(193, 80, 151, 100%) #c15097FF  

Saturated and desaturated colors of #c15097

HSL Code Preview
hsl(322, 10%, 54%)  
hsl(322, 20%, 54%)  
hsl(322, 40%, 54%)  
hsl(322, 60%, 54%)  
hsl(322, 80%, 54%)  
hsl(322, 100%, 54%)  

#c15097 Color Usage In CSS

 body {
    color: #c15097;
    }
 p {
    color: rgb(193, 80, 151);
    }
 header {
    border-bottom:1px solid #c15097;
    }
Recent Random Colors