Random Color Generator

#490c69 Color

Color Codes
Hex Code #490c69
RGB Code rgb(73, 12, 105)
HSL Code hsl(279, 79%, 23%)

#490c69 Color Syntax

rgb()

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

 main {
    background-color: rgb(73, 12, 105);
   }

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(279, 79%, 23%);
  }

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 #490c69

RGB Code Hex Code Preview
rgb(73, 12, 105, 10%) #490c691a  
rgb(73, 12, 105, 20%) #490c6933  
rgb(73, 12, 105, 40%) #490c694C  
rgb(73, 12, 105, 60%) #490c6999  
rgb(73, 12, 105, 80%) #490c69CC  
rgb(73, 12, 105, 100%) #490c69FF  

Saturated and desaturated colors of #490c69

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

#490c69 Color Usage In CSS

 body {
    color: #490c69;
    }
 p {
    color: rgb(73, 12, 105);
    }
 header {
    border-bottom:1px solid #490c69;
    }
Recent Random Colors