Random Color Generator

#c2098a Color

Color Codes
Hex Code #c2098a
RGB Code rgb(194, 09, 138)
HSL Code hsl(318, 91%, 40%)

#c2098a Color Syntax

rgb()

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

 main {
    background-color: rgb(194, 09, 138);
   }

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, 91%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(194, 09, 138, 10%) #c2098a1a  
rgb(194, 09, 138, 20%) #c2098a33  
rgb(194, 09, 138, 40%) #c2098a4C  
rgb(194, 09, 138, 60%) #c2098a99  
rgb(194, 09, 138, 80%) #c2098aCC  
rgb(194, 09, 138, 100%) #c2098aFF  

Saturated and desaturated colors of #c2098a

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

#c2098a Color Usage In CSS

 body {
    color: #c2098a;
    }
 p {
    color: rgb(194, 09, 138);
    }
 header {
    border-bottom:1px solid #c2098a;
    }
Recent Random Colors