#278ca8 Color
Color Codes | |
---|---|
Hex Code | #278ca8 |
RGB Code | rgb(39, 140, 168) |
HSL Code | hsl(193, 62%, 41%) |
#278ca8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 140, 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(193, 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 #278ca8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 140, 168, 10%) | #278ca81a | |
rgb(39, 140, 168, 20%) | #278ca833 | |
rgb(39, 140, 168, 40%) | #278ca84C | |
rgb(39, 140, 168, 60%) | #278ca899 | |
rgb(39, 140, 168, 80%) | #278ca8CC | |
rgb(39, 140, 168, 100%) | #278ca8FF |
Saturated and desaturated colors of #278ca8
HSL Code | Preview |
---|---|
hsl(193, 10%, 41%) | |
hsl(193, 20%, 41%) | |
hsl(193, 40%, 41%) | |
hsl(193, 60%, 41%) | |
hsl(193, 80%, 41%) | |
hsl(193, 100%, 41%) |
#278ca8 Color Usage In CSS
body { color: #278ca8; } p { color: rgb(39, 140, 168); } header { border-bottom:1px solid #278ca8; }