Random Color Generator

#2502dd Color

Color Codes
Hex Code #2502dd
RGB Code rgb(37, 02, 221)
HSL Code hsl(250, 98%, 44%)

#2502dd Color Syntax

rgb()

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

 main {
    background-color: rgb(37, 02, 221);
   }

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(250, 98%, 44%);
  }

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 #2502dd

RGB Code Hex Code Preview
rgb(37, 02, 221, 10%) #2502dd1a  
rgb(37, 02, 221, 20%) #2502dd33  
rgb(37, 02, 221, 40%) #2502dd4C  
rgb(37, 02, 221, 60%) #2502dd99  
rgb(37, 02, 221, 80%) #2502ddCC  
rgb(37, 02, 221, 100%) #2502ddFF  

Saturated and desaturated colors of #2502dd

HSL Code Preview
hsl(250, 10%, 44%)  
hsl(250, 20%, 44%)  
hsl(250, 40%, 44%)  
hsl(250, 60%, 44%)  
hsl(250, 80%, 44%)  
hsl(250, 100%, 44%)  

#2502dd Color Usage In CSS

 body {
    color: #2502dd;
    }
 p {
    color: rgb(37, 02, 221);
    }
 header {
    border-bottom:1px solid #2502dd;
    }
Recent Random Colors