Random Color Generator

#3a75b3 Color

Color Codes
Hex Code #3a75b3
RGB Code rgb(58, 117, 179)
HSL Code hsl(211, 51%, 46%)

#3a75b3 Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 117, 179);
   }

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(211, 51%, 46%);
  }

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 #3a75b3

RGB Code Hex Code Preview
rgb(58, 117, 179, 10%) #3a75b31a  
rgb(58, 117, 179, 20%) #3a75b333  
rgb(58, 117, 179, 40%) #3a75b34C  
rgb(58, 117, 179, 60%) #3a75b399  
rgb(58, 117, 179, 80%) #3a75b3CC  
rgb(58, 117, 179, 100%) #3a75b3FF  

Saturated and desaturated colors of #3a75b3

HSL Code Preview
hsl(211, 10%, 46%)  
hsl(211, 20%, 46%)  
hsl(211, 40%, 46%)  
hsl(211, 60%, 46%)  
hsl(211, 80%, 46%)  
hsl(211, 100%, 46%)  

#3a75b3 Color Usage In CSS

 body {
    color: #3a75b3;
    }
 p {
    color: rgb(58, 117, 179);
    }
 header {
    border-bottom:1px solid #3a75b3;
    }
Recent Random Colors