Random Color Generator

#18208f Color

Color Codes
Hex Code #18208f
RGB Code rgb(24, 32, 143)
HSL Code hsl(236, 71%, 33%)

#18208f Color Syntax

rgb()

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

 main {
    background-color: rgb(24, 32, 143);
   }

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(236, 71%, 33%);
  }

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 #18208f

RGB Code Hex Code Preview
rgb(24, 32, 143, 10%) #18208f1a  
rgb(24, 32, 143, 20%) #18208f33  
rgb(24, 32, 143, 40%) #18208f4C  
rgb(24, 32, 143, 60%) #18208f99  
rgb(24, 32, 143, 80%) #18208fCC  
rgb(24, 32, 143, 100%) #18208fFF  

Saturated and desaturated colors of #18208f

HSL Code Preview
hsl(236, 10%, 33%)  
hsl(236, 20%, 33%)  
hsl(236, 40%, 33%)  
hsl(236, 60%, 33%)  
hsl(236, 80%, 33%)  
hsl(236, 100%, 33%)  

#18208f Color Usage In CSS

 body {
    color: #18208f;
    }
 p {
    color: rgb(24, 32, 143);
    }
 header {
    border-bottom:1px solid #18208f;
    }
Recent Random Colors