Random Color Generator

#4235bd Color

Color Codes
Hex Code #4235bd
RGB Code rgb(66, 53, 189)
HSL Code hsl(246, 56%, 47%)

#4235bd Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 53, 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(246, 56%, 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 #4235bd

RGB Code Hex Code Preview
rgb(66, 53, 189, 10%) #4235bd1a  
rgb(66, 53, 189, 20%) #4235bd33  
rgb(66, 53, 189, 40%) #4235bd4C  
rgb(66, 53, 189, 60%) #4235bd99  
rgb(66, 53, 189, 80%) #4235bdCC  
rgb(66, 53, 189, 100%) #4235bdFF  

Saturated and desaturated colors of #4235bd

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

#4235bd Color Usage In CSS

 body {
    color: #4235bd;
    }
 p {
    color: rgb(66, 53, 189);
    }
 header {
    border-bottom:1px solid #4235bd;
    }
Recent Random Colors