Random Color Generator

#274d80 Color

Color Codes
Hex Code #274d80
RGB Code rgb(39, 77, 128)
HSL Code hsl(214, 53%, 33%)

#274d80 Color Syntax

rgb()

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

 main {
    background-color: rgb(39, 77, 128);
   }

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(214, 53%, 33%);
  }

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 #274d80

RGB Code Hex Code Preview
rgb(39, 77, 128, 10%) #274d801a  
rgb(39, 77, 128, 20%) #274d8033  
rgb(39, 77, 128, 40%) #274d804C  
rgb(39, 77, 128, 60%) #274d8099  
rgb(39, 77, 128, 80%) #274d80CC  
rgb(39, 77, 128, 100%) #274d80FF  

Saturated and desaturated colors of #274d80

HSL Code Preview
hsl(214, 10%, 33%)  
hsl(214, 20%, 33%)  
hsl(214, 40%, 33%)  
hsl(214, 60%, 33%)  
hsl(214, 80%, 33%)  
hsl(214, 100%, 33%)  

#274d80 Color Usage In CSS

 body {
    color: #274d80;
    }
 p {
    color: rgb(39, 77, 128);
    }
 header {
    border-bottom:1px solid #274d80;
    }
Recent Random Colors