Random Color Generator

#352556 Color

Color Codes
Hex Code #352556
RGB Code rgb(53, 37, 86)
HSL Code hsl(260, 40%, 24%)

#352556 Color Syntax

rgb()

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

 main {
    background-color: rgb(53, 37, 86);
   }

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(260, 40%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(53, 37, 86, 10%) #3525561a  
rgb(53, 37, 86, 20%) #35255633  
rgb(53, 37, 86, 40%) #3525564C  
rgb(53, 37, 86, 60%) #35255699  
rgb(53, 37, 86, 80%) #352556CC  
rgb(53, 37, 86, 100%) #352556FF  

Saturated and desaturated colors of #352556

HSL Code Preview
hsl(260, 10%, 24%)  
hsl(260, 20%, 24%)  
hsl(260, 40%, 24%)  
hsl(260, 60%, 24%)  
hsl(260, 80%, 24%)  
hsl(260, 100%, 24%)  

#352556 Color Usage In CSS

 body {
    color: #352556;
    }
 p {
    color: rgb(53, 37, 86);
    }
 header {
    border-bottom:1px solid #352556;
    }
Recent Random Colors