Random Color Generator

#420a34 Color

Color Codes
Hex Code #420a34
RGB Code rgb(66, 10, 52)
HSL Code hsl(315, 74%, 15%)

#420a34 Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 10, 52);
   }

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(315, 74%, 15%);
  }

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 #420a34

RGB Code Hex Code Preview
rgb(66, 10, 52, 10%) #420a341a  
rgb(66, 10, 52, 20%) #420a3433  
rgb(66, 10, 52, 40%) #420a344C  
rgb(66, 10, 52, 60%) #420a3499  
rgb(66, 10, 52, 80%) #420a34CC  
rgb(66, 10, 52, 100%) #420a34FF  

Saturated and desaturated colors of #420a34

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

#420a34 Color Usage In CSS

 body {
    color: #420a34;
    }
 p {
    color: rgb(66, 10, 52);
    }
 header {
    border-bottom:1px solid #420a34;
    }
Recent Random Colors