Random Color Generator

#1249fc Color

Color Codes
Hex Code #1249fc
RGB Code rgb(18, 73, 252)
HSL Code hsl(226, 98%, 53%)

#1249fc Color Syntax

rgb()

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

 main {
    background-color: rgb(18, 73, 252);
   }

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(226, 98%, 53%);
  }

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 #1249fc

RGB Code Hex Code Preview
rgb(18, 73, 252, 10%) #1249fc1a  
rgb(18, 73, 252, 20%) #1249fc33  
rgb(18, 73, 252, 40%) #1249fc4C  
rgb(18, 73, 252, 60%) #1249fc99  
rgb(18, 73, 252, 80%) #1249fcCC  
rgb(18, 73, 252, 100%) #1249fcFF  

Saturated and desaturated colors of #1249fc

HSL Code Preview
hsl(226, 10%, 53%)  
hsl(226, 20%, 53%)  
hsl(226, 40%, 53%)  
hsl(226, 60%, 53%)  
hsl(226, 80%, 53%)  
hsl(226, 100%, 53%)  

#1249fc Color Usage In CSS

 body {
    color: #1249fc;
    }
 p {
    color: rgb(18, 73, 252);
    }
 header {
    border-bottom:1px solid #1249fc;
    }
Recent Random Colors