Random Color Generator

#6276d3 Color

Color Codes
Hex Code #6276d3
RGB Code rgb(98, 118, 211)
HSL Code hsl(229, 56%, 61%)

#6276d3 Color Syntax

rgb()

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

 main {
    background-color: rgb(98, 118, 211);
   }

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(229, 56%, 61%);
  }

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 #6276d3

RGB Code Hex Code Preview
rgb(98, 118, 211, 10%) #6276d31a  
rgb(98, 118, 211, 20%) #6276d333  
rgb(98, 118, 211, 40%) #6276d34C  
rgb(98, 118, 211, 60%) #6276d399  
rgb(98, 118, 211, 80%) #6276d3CC  
rgb(98, 118, 211, 100%) #6276d3FF  

Saturated and desaturated colors of #6276d3

HSL Code Preview
hsl(229, 10%, 61%)  
hsl(229, 20%, 61%)  
hsl(229, 40%, 61%)  
hsl(229, 60%, 61%)  
hsl(229, 80%, 61%)  
hsl(229, 100%, 61%)  

#6276d3 Color Usage In CSS

 body {
    color: #6276d3;
    }
 p {
    color: rgb(98, 118, 211);
    }
 header {
    border-bottom:1px solid #6276d3;
    }
Recent Random Colors