#276ea8 Color
Color Codes | |
---|---|
Hex Code | #276ea8 |
RGB Code | rgb(39, 110, 168) |
HSL Code | hsl(207, 62%, 41%) |
#276ea8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 110, 168); }
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(207, 62%, 41%); }
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 #276ea8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 110, 168, 10%) | #276ea81a | |
rgb(39, 110, 168, 20%) | #276ea833 | |
rgb(39, 110, 168, 40%) | #276ea84C | |
rgb(39, 110, 168, 60%) | #276ea899 | |
rgb(39, 110, 168, 80%) | #276ea8CC | |
rgb(39, 110, 168, 100%) | #276ea8FF |
Saturated and desaturated colors of #276ea8
HSL Code | Preview |
---|---|
hsl(207, 10%, 41%) | |
hsl(207, 20%, 41%) | |
hsl(207, 40%, 41%) | |
hsl(207, 60%, 41%) | |
hsl(207, 80%, 41%) | |
hsl(207, 100%, 41%) |
#276ea8 Color Usage In CSS
body { color: #276ea8; } p { color: rgb(39, 110, 168); } header { border-bottom:1px solid #276ea8; }