Random Color Generator

#da277d Color

Color Codes
Hex Code #da277d
RGB Code rgb(218, 39, 125)
HSL Code hsl(331, 71%, 50%)

#da277d Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 39, 125);
   }

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(331, 71%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(218, 39, 125, 10%) #da277d1a  
rgb(218, 39, 125, 20%) #da277d33  
rgb(218, 39, 125, 40%) #da277d4C  
rgb(218, 39, 125, 60%) #da277d99  
rgb(218, 39, 125, 80%) #da277dCC  
rgb(218, 39, 125, 100%) #da277dFF  

Saturated and desaturated colors of #da277d

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

#da277d Color Usage In CSS

 body {
    color: #da277d;
    }
 p {
    color: rgb(218, 39, 125);
    }
 header {
    border-bottom:1px solid #da277d;
    }
Recent Random Colors