Random Color Generator

#38014a Color

Color Codes
Hex Code #38014a
RGB Code rgb(56, 01, 74)
HSL Code hsl(285, 97%, 15%)

#38014a Color Syntax

rgb()

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

 main {
    background-color: rgb(56, 01, 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(285, 97%, 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 #38014a

RGB Code Hex Code Preview
rgb(56, 01, 74, 10%) #38014a1a  
rgb(56, 01, 74, 20%) #38014a33  
rgb(56, 01, 74, 40%) #38014a4C  
rgb(56, 01, 74, 60%) #38014a99  
rgb(56, 01, 74, 80%) #38014aCC  
rgb(56, 01, 74, 100%) #38014aFF  

Saturated and desaturated colors of #38014a

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

#38014a Color Usage In CSS

 body {
    color: #38014a;
    }
 p {
    color: rgb(56, 01, 74);
    }
 header {
    border-bottom:1px solid #38014a;
    }
Recent Random Colors