#3325ec Color
Color Codes | |
---|---|
Hex Code | #3325ec |
RGB Code | rgb(51, 37, 236) |
HSL Code | hsl(244, 84%, 54%) |
#3325ec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 37, 236); }
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(244, 84%, 54%); }
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 #3325ec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 37, 236, 10%) | #3325ec1a | |
rgb(51, 37, 236, 20%) | #3325ec33 | |
rgb(51, 37, 236, 40%) | #3325ec4C | |
rgb(51, 37, 236, 60%) | #3325ec99 | |
rgb(51, 37, 236, 80%) | #3325ecCC | |
rgb(51, 37, 236, 100%) | #3325ecFF |
Saturated and desaturated colors of #3325ec
HSL Code | Preview |
---|---|
hsl(244, 10%, 54%) | |
hsl(244, 20%, 54%) | |
hsl(244, 40%, 54%) | |
hsl(244, 60%, 54%) | |
hsl(244, 80%, 54%) | |
hsl(244, 100%, 54%) |
#3325ec Color Usage In CSS
body { color: #3325ec; } p { color: rgb(51, 37, 236); } header { border-bottom:1px solid #3325ec; }