#3905cc Color
Color Codes | |
---|---|
Hex Code | #3905cc |
RGB Code | rgb(57, 05, 204) |
HSL Code | hsl(256, 95%, 41%) |
#3905cc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 05, 204); }
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(256, 95%, 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 #3905cc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 05, 204, 10%) | #3905cc1a | |
rgb(57, 05, 204, 20%) | #3905cc33 | |
rgb(57, 05, 204, 40%) | #3905cc4C | |
rgb(57, 05, 204, 60%) | #3905cc99 | |
rgb(57, 05, 204, 80%) | #3905ccCC | |
rgb(57, 05, 204, 100%) | #3905ccFF |
Saturated and desaturated colors of #3905cc
HSL Code | Preview |
---|---|
hsl(256, 10%, 41%) | |
hsl(256, 20%, 41%) | |
hsl(256, 40%, 41%) | |
hsl(256, 60%, 41%) | |
hsl(256, 80%, 41%) | |
hsl(256, 100%, 41%) |
#3905cc Color Usage In CSS
body { color: #3905cc; } p { color: rgb(57, 05, 204); } header { border-bottom:1px solid #3905cc; }