Random Color Generator

#333fbd Color

Color Codes
Hex Code #333fbd
RGB Code rgb(51, 63, 189)
HSL Code hsl(235, 58%, 47%)

#333fbd Color Syntax

rgb()

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

 main {
    background-color: rgb(51, 63, 189);
   }

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(235, 58%, 47%);
  }

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 #333fbd

RGB Code Hex Code Preview
rgb(51, 63, 189, 10%) #333fbd1a  
rgb(51, 63, 189, 20%) #333fbd33  
rgb(51, 63, 189, 40%) #333fbd4C  
rgb(51, 63, 189, 60%) #333fbd99  
rgb(51, 63, 189, 80%) #333fbdCC  
rgb(51, 63, 189, 100%) #333fbdFF  

Saturated and desaturated colors of #333fbd

HSL Code Preview
hsl(235, 10%, 47%)  
hsl(235, 20%, 47%)  
hsl(235, 40%, 47%)  
hsl(235, 60%, 47%)  
hsl(235, 80%, 47%)  
hsl(235, 100%, 47%)  

#333fbd Color Usage In CSS

 body {
    color: #333fbd;
    }
 p {
    color: rgb(51, 63, 189);
    }
 header {
    border-bottom:1px solid #333fbd;
    }
Recent Random Colors