Random Color Generator

#da1870 Color

Color Codes
Hex Code #da1870
RGB Code rgb(218, 24, 112)
HSL Code hsl(333, 80%, 47%)

#da1870 Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 24, 112);
   }

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(333, 80%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(218, 24, 112, 10%) #da18701a  
rgb(218, 24, 112, 20%) #da187033  
rgb(218, 24, 112, 40%) #da18704C  
rgb(218, 24, 112, 60%) #da187099  
rgb(218, 24, 112, 80%) #da1870CC  
rgb(218, 24, 112, 100%) #da1870FF  

Saturated and desaturated colors of #da1870

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

#da1870 Color Usage In CSS

 body {
    color: #da1870;
    }
 p {
    color: rgb(218, 24, 112);
    }
 header {
    border-bottom:1px solid #da1870;
    }
Recent Random Colors