#05306c Color
Color Codes | |
---|---|
Hex Code | #05306c |
RGB Code | rgb(05, 48, 108) |
HSL Code | hsl(215, 91%, 22%) |
#05306c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(05, 48, 108); }
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(215, 91%, 22%); }
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 #05306c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(05, 48, 108, 10%) | #05306c1a | |
rgb(05, 48, 108, 20%) | #05306c33 | |
rgb(05, 48, 108, 40%) | #05306c4C | |
rgb(05, 48, 108, 60%) | #05306c99 | |
rgb(05, 48, 108, 80%) | #05306cCC | |
rgb(05, 48, 108, 100%) | #05306cFF |
Saturated and desaturated colors of #05306c
HSL Code | Preview |
---|---|
hsl(215, 10%, 22%) | |
hsl(215, 20%, 22%) | |
hsl(215, 40%, 22%) | |
hsl(215, 60%, 22%) | |
hsl(215, 80%, 22%) | |
hsl(215, 100%, 22%) |
#05306c Color Usage In CSS
body { color: #05306c; } p { color: rgb(05, 48, 108); } header { border-bottom:1px solid #05306c; }