Random Color Generator

#46284c Color

Color Codes
Hex Code #46284c
RGB Code rgb(70, 40, 76)
HSL Code hsl(290, 31%, 23%)

#46284c Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 40, 76);
   }

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(290, 31%, 23%);
  }

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

RGB Code Hex Code Preview
rgb(70, 40, 76, 10%) #46284c1a  
rgb(70, 40, 76, 20%) #46284c33  
rgb(70, 40, 76, 40%) #46284c4C  
rgb(70, 40, 76, 60%) #46284c99  
rgb(70, 40, 76, 80%) #46284cCC  
rgb(70, 40, 76, 100%) #46284cFF  

Saturated and desaturated colors of #46284c

HSL Code Preview
hsl(290, 10%, 23%)  
hsl(290, 20%, 23%)  
hsl(290, 40%, 23%)  
hsl(290, 60%, 23%)  
hsl(290, 80%, 23%)  
hsl(290, 100%, 23%)  

#46284c Color Usage In CSS

 body {
    color: #46284c;
    }
 p {
    color: rgb(70, 40, 76);
    }
 header {
    border-bottom:1px solid #46284c;
    }
Recent Random Colors