Random Color Generator

#390a63 Color

Color Codes
Hex Code #390a63
RGB Code rgb(57, 10, 99)
HSL Code hsl(272, 82%, 21%)

#390a63 Color Syntax

rgb()

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

 main {
    background-color: rgb(57, 10, 99);
   }

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(272, 82%, 21%);
  }

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 #390a63

RGB Code Hex Code Preview
rgb(57, 10, 99, 10%) #390a631a  
rgb(57, 10, 99, 20%) #390a6333  
rgb(57, 10, 99, 40%) #390a634C  
rgb(57, 10, 99, 60%) #390a6399  
rgb(57, 10, 99, 80%) #390a63CC  
rgb(57, 10, 99, 100%) #390a63FF  

Saturated and desaturated colors of #390a63

HSL Code Preview
hsl(272, 10%, 21%)  
hsl(272, 20%, 21%)  
hsl(272, 40%, 21%)  
hsl(272, 60%, 21%)  
hsl(272, 80%, 21%)  
hsl(272, 100%, 21%)  

#390a63 Color Usage In CSS

 body {
    color: #390a63;
    }
 p {
    color: rgb(57, 10, 99);
    }
 header {
    border-bottom:1px solid #390a63;
    }
Recent Random Colors