Random Color Generator

#30269c Color

Color Codes
Hex Code #30269c
RGB Code rgb(48, 38, 156)
HSL Code hsl(245, 61%, 38%)

#30269c Color Syntax

rgb()

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

 main {
    background-color: rgb(48, 38, 156);
   }

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(245, 61%, 38%);
  }

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 #30269c

RGB Code Hex Code Preview
rgb(48, 38, 156, 10%) #30269c1a  
rgb(48, 38, 156, 20%) #30269c33  
rgb(48, 38, 156, 40%) #30269c4C  
rgb(48, 38, 156, 60%) #30269c99  
rgb(48, 38, 156, 80%) #30269cCC  
rgb(48, 38, 156, 100%) #30269cFF  

Saturated and desaturated colors of #30269c

HSL Code Preview
hsl(245, 10%, 38%)  
hsl(245, 20%, 38%)  
hsl(245, 40%, 38%)  
hsl(245, 60%, 38%)  
hsl(245, 80%, 38%)  
hsl(245, 100%, 38%)  

#30269c Color Usage In CSS

 body {
    color: #30269c;
    }
 p {
    color: rgb(48, 38, 156);
    }
 header {
    border-bottom:1px solid #30269c;
    }
Recent Random Colors