Random Color Generator

#480aa4 Color

Color Codes
Hex Code #480aa4
RGB Code rgb(72, 10, 164)
HSL Code hsl(264, 89%, 34%)

#480aa4 Color Syntax

rgb()

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

 main {
    background-color: rgb(72, 10, 164);
   }

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, 89%, 34%);
  }

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 #480aa4

RGB Code Hex Code Preview
rgb(72, 10, 164, 10%) #480aa41a  
rgb(72, 10, 164, 20%) #480aa433  
rgb(72, 10, 164, 40%) #480aa44C  
rgb(72, 10, 164, 60%) #480aa499  
rgb(72, 10, 164, 80%) #480aa4CC  
rgb(72, 10, 164, 100%) #480aa4FF  

Saturated and desaturated colors of #480aa4

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

#480aa4 Color Usage In CSS

 body {
    color: #480aa4;
    }
 p {
    color: rgb(72, 10, 164);
    }
 header {
    border-bottom:1px solid #480aa4;
    }
Recent Random Colors