Random Color Generator

#1181d4 Color

Color Codes
Hex Code #1181d4
RGB Code rgb(17, 129, 212)
HSL Code hsl(206, 85%, 45%)

#1181d4 Color Syntax

rgb()

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

 main {
    background-color: rgb(17, 129, 212);
   }

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(206, 85%, 45%);
  }

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 #1181d4

RGB Code Hex Code Preview
rgb(17, 129, 212, 10%) #1181d41a  
rgb(17, 129, 212, 20%) #1181d433  
rgb(17, 129, 212, 40%) #1181d44C  
rgb(17, 129, 212, 60%) #1181d499  
rgb(17, 129, 212, 80%) #1181d4CC  
rgb(17, 129, 212, 100%) #1181d4FF  

Saturated and desaturated colors of #1181d4

HSL Code Preview
hsl(206, 10%, 45%)  
hsl(206, 20%, 45%)  
hsl(206, 40%, 45%)  
hsl(206, 60%, 45%)  
hsl(206, 80%, 45%)  
hsl(206, 100%, 45%)  

#1181d4 Color Usage In CSS

 body {
    color: #1181d4;
    }
 p {
    color: rgb(17, 129, 212);
    }
 header {
    border-bottom:1px solid #1181d4;
    }
Recent Random Colors