Random Color Generator

#2d32bc Color

Color Codes
Hex Code #2d32bc
RGB Code rgb(45, 50, 188)
HSL Code hsl(238, 61%, 46%)

#2d32bc Color Syntax

rgb()

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

 main {
    background-color: rgb(45, 50, 188);
   }

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(238, 61%, 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 #2d32bc

RGB Code Hex Code Preview
rgb(45, 50, 188, 10%) #2d32bc1a  
rgb(45, 50, 188, 20%) #2d32bc33  
rgb(45, 50, 188, 40%) #2d32bc4C  
rgb(45, 50, 188, 60%) #2d32bc99  
rgb(45, 50, 188, 80%) #2d32bcCC  
rgb(45, 50, 188, 100%) #2d32bcFF  

Saturated and desaturated colors of #2d32bc

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

#2d32bc Color Usage In CSS

 body {
    color: #2d32bc;
    }
 p {
    color: rgb(45, 50, 188);
    }
 header {
    border-bottom:1px solid #2d32bc;
    }
Recent Random Colors