Random Color Generator

#674f95 Color

Color Codes
Hex Code #674f95
RGB Code rgb(103, 79, 149)
HSL Code hsl(261, 31%, 45%)

#674f95 Color Syntax

rgb()

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

 main {
    background-color: rgb(103, 79, 149);
   }

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(261, 31%, 45%);
  }

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 #674f95

RGB Code Hex Code Preview
rgb(103, 79, 149, 10%) #674f951a  
rgb(103, 79, 149, 20%) #674f9533  
rgb(103, 79, 149, 40%) #674f954C  
rgb(103, 79, 149, 60%) #674f9599  
rgb(103, 79, 149, 80%) #674f95CC  
rgb(103, 79, 149, 100%) #674f95FF  

Saturated and desaturated colors of #674f95

HSL Code Preview
hsl(261, 10%, 45%)  
hsl(261, 20%, 45%)  
hsl(261, 40%, 45%)  
hsl(261, 60%, 45%)  
hsl(261, 80%, 45%)  
hsl(261, 100%, 45%)  

#674f95 Color Usage In CSS

 body {
    color: #674f95;
    }
 p {
    color: rgb(103, 79, 149);
    }
 header {
    border-bottom:1px solid #674f95;
    }
Recent Random Colors