#303cca Color
Color Codes | |
---|---|
Hex Code | #303cca |
RGB Code | rgb(48, 60, 202) |
HSL Code | hsl(235, 62%, 49%) |
#303cca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(48, 60, 202); }
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, 62%, 49%); }
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 #303cca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(48, 60, 202, 10%) | #303cca1a | |
rgb(48, 60, 202, 20%) | #303cca33 | |
rgb(48, 60, 202, 40%) | #303cca4C | |
rgb(48, 60, 202, 60%) | #303cca99 | |
rgb(48, 60, 202, 80%) | #303ccaCC | |
rgb(48, 60, 202, 100%) | #303ccaFF |
Saturated and desaturated colors of #303cca
HSL Code | Preview |
---|---|
hsl(235, 10%, 49%) | |
hsl(235, 20%, 49%) | |
hsl(235, 40%, 49%) | |
hsl(235, 60%, 49%) | |
hsl(235, 80%, 49%) | |
hsl(235, 100%, 49%) |
#303cca Color Usage In CSS
body { color: #303cca; } p { color: rgb(48, 60, 202); } header { border-bottom:1px solid #303cca; }