Random Color Generator

#390a4a Color

Color Codes
Hex Code #390a4a
RGB Code rgb(57, 10, 74)
HSL Code hsl(284, 76%, 16%)

#390a4a Color Syntax

rgb()

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

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

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(284, 76%, 16%);
  }

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

RGB Code Hex Code Preview
rgb(57, 10, 74, 10%) #390a4a1a  
rgb(57, 10, 74, 20%) #390a4a33  
rgb(57, 10, 74, 40%) #390a4a4C  
rgb(57, 10, 74, 60%) #390a4a99  
rgb(57, 10, 74, 80%) #390a4aCC  
rgb(57, 10, 74, 100%) #390a4aFF  

Saturated and desaturated colors of #390a4a

HSL Code Preview
hsl(284, 10%, 16%)  
hsl(284, 20%, 16%)  
hsl(284, 40%, 16%)  
hsl(284, 60%, 16%)  
hsl(284, 80%, 16%)  
hsl(284, 100%, 16%)  

#390a4a Color Usage In CSS

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