Random Color Generator

#330174 Color

Color Codes
Hex Code #330174
RGB Code rgb(51, 01, 116)
HSL Code hsl(266, 98%, 23%)

#330174 Color Syntax

rgb()

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

 main {
    background-color: rgb(51, 01, 116);
   }

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(266, 98%, 23%);
  }

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

RGB Code Hex Code Preview
rgb(51, 01, 116, 10%) #3301741a  
rgb(51, 01, 116, 20%) #33017433  
rgb(51, 01, 116, 40%) #3301744C  
rgb(51, 01, 116, 60%) #33017499  
rgb(51, 01, 116, 80%) #330174CC  
rgb(51, 01, 116, 100%) #330174FF  

Saturated and desaturated colors of #330174

HSL Code Preview
hsl(266, 10%, 23%)  
hsl(266, 20%, 23%)  
hsl(266, 40%, 23%)  
hsl(266, 60%, 23%)  
hsl(266, 80%, 23%)  
hsl(266, 100%, 23%)  

#330174 Color Usage In CSS

 body {
    color: #330174;
    }
 p {
    color: rgb(51, 01, 116);
    }
 header {
    border-bottom:1px solid #330174;
    }
Recent Random Colors