#273198 Color
Color Codes | |
---|---|
Hex Code | #273198 |
RGB Code | rgb(39, 49, 152) |
HSL Code | hsl(235, 59%, 37%) |
#273198 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 49, 152); }
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(235, 59%, 37%); }
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 #273198
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 49, 152, 10%) | #2731981a | |
rgb(39, 49, 152, 20%) | #27319833 | |
rgb(39, 49, 152, 40%) | #2731984C | |
rgb(39, 49, 152, 60%) | #27319899 | |
rgb(39, 49, 152, 80%) | #273198CC | |
rgb(39, 49, 152, 100%) | #273198FF |
Saturated and desaturated colors of #273198
HSL Code | Preview |
---|---|
hsl(235, 10%, 37%) | |
hsl(235, 20%, 37%) | |
hsl(235, 40%, 37%) | |
hsl(235, 60%, 37%) | |
hsl(235, 80%, 37%) | |
hsl(235, 100%, 37%) |
#273198 Color Usage In CSS
body { color: #273198; } p { color: rgb(39, 49, 152); } header { border-bottom:1px solid #273198; }