Random Color Generator

#2206ed Color

Color Codes
Hex Code #2206ed
RGB Code rgb(34, 06, 237)
HSL Code hsl(247, 95%, 48%)

#2206ed Color Syntax

rgb()

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

 main {
    background-color: rgb(34, 06, 237);
   }

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(247, 95%, 48%);
  }

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 #2206ed

RGB Code Hex Code Preview
rgb(34, 06, 237, 10%) #2206ed1a  
rgb(34, 06, 237, 20%) #2206ed33  
rgb(34, 06, 237, 40%) #2206ed4C  
rgb(34, 06, 237, 60%) #2206ed99  
rgb(34, 06, 237, 80%) #2206edCC  
rgb(34, 06, 237, 100%) #2206edFF  

Saturated and desaturated colors of #2206ed

HSL Code Preview
hsl(247, 10%, 48%)  
hsl(247, 20%, 48%)  
hsl(247, 40%, 48%)  
hsl(247, 60%, 48%)  
hsl(247, 80%, 48%)  
hsl(247, 100%, 48%)  

#2206ed Color Usage In CSS

 body {
    color: #2206ed;
    }
 p {
    color: rgb(34, 06, 237);
    }
 header {
    border-bottom:1px solid #2206ed;
    }
Recent Random Colors