Random Color Generator

#320990 Color

Color Codes
Hex Code #320990
RGB Code rgb(50, 09, 144)
HSL Code hsl(258, 88%, 30%)

#320990 Color Syntax

rgb()

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

 main {
    background-color: rgb(50, 09, 144);
   }

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(258, 88%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(50, 09, 144, 10%) #3209901a  
rgb(50, 09, 144, 20%) #32099033  
rgb(50, 09, 144, 40%) #3209904C  
rgb(50, 09, 144, 60%) #32099099  
rgb(50, 09, 144, 80%) #320990CC  
rgb(50, 09, 144, 100%) #320990FF  

Saturated and desaturated colors of #320990

HSL Code Preview
hsl(258, 10%, 30%)  
hsl(258, 20%, 30%)  
hsl(258, 40%, 30%)  
hsl(258, 60%, 30%)  
hsl(258, 80%, 30%)  
hsl(258, 100%, 30%)  

#320990 Color Usage In CSS

 body {
    color: #320990;
    }
 p {
    color: rgb(50, 09, 144);
    }
 header {
    border-bottom:1px solid #320990;
    }
Recent Random Colors