Random Color Generator

#525eb3 Color

Color Codes
Hex Code #525eb3
RGB Code rgb(82, 94, 179)
HSL Code hsl(233, 39%, 51%)

#525eb3 Color Syntax

rgb()

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

 main {
    background-color: rgb(82, 94, 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(233, 39%, 51%);
  }

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 #525eb3

RGB Code Hex Code Preview
rgb(82, 94, 179, 10%) #525eb31a  
rgb(82, 94, 179, 20%) #525eb333  
rgb(82, 94, 179, 40%) #525eb34C  
rgb(82, 94, 179, 60%) #525eb399  
rgb(82, 94, 179, 80%) #525eb3CC  
rgb(82, 94, 179, 100%) #525eb3FF  

Saturated and desaturated colors of #525eb3

HSL Code Preview
hsl(233, 10%, 51%)  
hsl(233, 20%, 51%)  
hsl(233, 40%, 51%)  
hsl(233, 60%, 51%)  
hsl(233, 80%, 51%)  
hsl(233, 100%, 51%)  

#525eb3 Color Usage In CSS

 body {
    color: #525eb3;
    }
 p {
    color: rgb(82, 94, 179);
    }
 header {
    border-bottom:1px solid #525eb3;
    }
Recent Random Colors