Random Color Generator

#35128f Color

Color Codes
Hex Code #35128f
RGB Code rgb(53, 18, 143)
HSL Code hsl(257, 78%, 32%)

#35128f Color Syntax

rgb()

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

 main {
    background-color: rgb(53, 18, 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(257, 78%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(53, 18, 143, 10%) #35128f1a  
rgb(53, 18, 143, 20%) #35128f33  
rgb(53, 18, 143, 40%) #35128f4C  
rgb(53, 18, 143, 60%) #35128f99  
rgb(53, 18, 143, 80%) #35128fCC  
rgb(53, 18, 143, 100%) #35128fFF  

Saturated and desaturated colors of #35128f

HSL Code Preview
hsl(257, 10%, 32%)  
hsl(257, 20%, 32%)  
hsl(257, 40%, 32%)  
hsl(257, 60%, 32%)  
hsl(257, 80%, 32%)  
hsl(257, 100%, 32%)  

#35128f Color Usage In CSS

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