Random Color Generator

#382d5c Color

Color Codes
Hex Code #382d5c
RGB Code rgb(56, 45, 92)
HSL Code hsl(254, 34%, 27%)

#382d5c Color Syntax

rgb()

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

 main {
    background-color: rgb(56, 45, 92);
   }

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(254, 34%, 27%);
  }

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 #382d5c

RGB Code Hex Code Preview
rgb(56, 45, 92, 10%) #382d5c1a  
rgb(56, 45, 92, 20%) #382d5c33  
rgb(56, 45, 92, 40%) #382d5c4C  
rgb(56, 45, 92, 60%) #382d5c99  
rgb(56, 45, 92, 80%) #382d5cCC  
rgb(56, 45, 92, 100%) #382d5cFF  

Saturated and desaturated colors of #382d5c

HSL Code Preview
hsl(254, 10%, 27%)  
hsl(254, 20%, 27%)  
hsl(254, 40%, 27%)  
hsl(254, 60%, 27%)  
hsl(254, 80%, 27%)  
hsl(254, 100%, 27%)  

#382d5c Color Usage In CSS

 body {
    color: #382d5c;
    }
 p {
    color: rgb(56, 45, 92);
    }
 header {
    border-bottom:1px solid #382d5c;
    }
Recent Random Colors