#0278a3 Color
Color Codes | |
---|---|
Hex Code | #0278a3 |
RGB Code | rgb(02, 120, 163) |
HSL Code | hsl(196, 98%, 32%) |
#0278a3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(02, 120, 163); }
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(196, 98%, 32%); }
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 #0278a3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(02, 120, 163, 10%) | #0278a31a | |
rgb(02, 120, 163, 20%) | #0278a333 | |
rgb(02, 120, 163, 40%) | #0278a34C | |
rgb(02, 120, 163, 60%) | #0278a399 | |
rgb(02, 120, 163, 80%) | #0278a3CC | |
rgb(02, 120, 163, 100%) | #0278a3FF |
Saturated and desaturated colors of #0278a3
HSL Code | Preview |
---|---|
hsl(196, 10%, 32%) | |
hsl(196, 20%, 32%) | |
hsl(196, 40%, 32%) | |
hsl(196, 60%, 32%) | |
hsl(196, 80%, 32%) | |
hsl(196, 100%, 32%) |
#0278a3 Color Usage In CSS
body { color: #0278a3; } p { color: rgb(02, 120, 163); } header { border-bottom:1px solid #0278a3; }