Random Color Generator

#370682 Color

Color Codes
Hex Code #370682
RGB Code rgb(55, 06, 130)
HSL Code hsl(264, 91%, 27%)

#370682 Color Syntax

rgb()

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

 main {
    background-color: rgb(55, 06, 130);
   }

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(264, 91%, 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 #370682

RGB Code Hex Code Preview
rgb(55, 06, 130, 10%) #3706821a  
rgb(55, 06, 130, 20%) #37068233  
rgb(55, 06, 130, 40%) #3706824C  
rgb(55, 06, 130, 60%) #37068299  
rgb(55, 06, 130, 80%) #370682CC  
rgb(55, 06, 130, 100%) #370682FF  

Saturated and desaturated colors of #370682

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

#370682 Color Usage In CSS

 body {
    color: #370682;
    }
 p {
    color: rgb(55, 06, 130);
    }
 header {
    border-bottom:1px solid #370682;
    }
Recent Random Colors