Random Color Generator

#c5274e Color

Color Codes
Hex Code #c5274e
RGB Code rgb(197, 39, 78)
HSL Code hsl(345, 67%, 46%)

#c5274e Color Syntax

rgb()

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

 main {
    background-color: rgb(197, 39, 78);
   }

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(345, 67%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(197, 39, 78, 10%) #c5274e1a  
rgb(197, 39, 78, 20%) #c5274e33  
rgb(197, 39, 78, 40%) #c5274e4C  
rgb(197, 39, 78, 60%) #c5274e99  
rgb(197, 39, 78, 80%) #c5274eCC  
rgb(197, 39, 78, 100%) #c5274eFF  

Saturated and desaturated colors of #c5274e

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

#c5274e Color Usage In CSS

 body {
    color: #c5274e;
    }
 p {
    color: rgb(197, 39, 78);
    }
 header {
    border-bottom:1px solid #c5274e;
    }
Recent Random Colors