Random Color Generator

#250e75 Color

Color Codes
Hex Code #250e75
RGB Code rgb(37, 14, 117)
HSL Code hsl(253, 79%, 26%)

#250e75 Color Syntax

rgb()

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

 main {
    background-color: rgb(37, 14, 117);
   }

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(253, 79%, 26%);
  }

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 #250e75

RGB Code Hex Code Preview
rgb(37, 14, 117, 10%) #250e751a  
rgb(37, 14, 117, 20%) #250e7533  
rgb(37, 14, 117, 40%) #250e754C  
rgb(37, 14, 117, 60%) #250e7599  
rgb(37, 14, 117, 80%) #250e75CC  
rgb(37, 14, 117, 100%) #250e75FF  

Saturated and desaturated colors of #250e75

HSL Code Preview
hsl(253, 10%, 26%)  
hsl(253, 20%, 26%)  
hsl(253, 40%, 26%)  
hsl(253, 60%, 26%)  
hsl(253, 80%, 26%)  
hsl(253, 100%, 26%)  

#250e75 Color Usage In CSS

 body {
    color: #250e75;
    }
 p {
    color: rgb(37, 14, 117);
    }
 header {
    border-bottom:1px solid #250e75;
    }
Recent Random Colors