Random Color Generator

#360046 Color

Color Codes
Hex Code #360046
RGB Code rgb(54, 00, 70)
HSL Code hsl(286, 100%, 14%)

#360046 Color Syntax

rgb()

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

 main {
    background-color: rgb(54, 00, 70);
   }

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(286, 100%, 14%);
  }

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 #360046

RGB Code Hex Code Preview
rgb(54, 00, 70, 10%) #3600461a  
rgb(54, 00, 70, 20%) #36004633  
rgb(54, 00, 70, 40%) #3600464C  
rgb(54, 00, 70, 60%) #36004699  
rgb(54, 00, 70, 80%) #360046CC  
rgb(54, 00, 70, 100%) #360046FF  

Saturated and desaturated colors of #360046

HSL Code Preview
hsl(286, 10%, 14%)  
hsl(286, 20%, 14%)  
hsl(286, 40%, 14%)  
hsl(286, 60%, 14%)  
hsl(286, 80%, 14%)  
hsl(286, 100%, 14%)  

#360046 Color Usage In CSS

 body {
    color: #360046;
    }
 p {
    color: rgb(54, 00, 70);
    }
 header {
    border-bottom:1px solid #360046;
    }
Recent Random Colors