#33009f Color
Color Codes | |
---|---|
Hex Code | #33009f |
RGB Code | rgb(51, 00, 159) |
HSL Code | hsl(259, 100%, 31%) |
#33009f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(51, 00, 159); }
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(259, 100%, 31%); }
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 #33009f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(51, 00, 159, 10%) | #33009f1a | |
rgb(51, 00, 159, 20%) | #33009f33 | |
rgb(51, 00, 159, 40%) | #33009f4C | |
rgb(51, 00, 159, 60%) | #33009f99 | |
rgb(51, 00, 159, 80%) | #33009fCC | |
rgb(51, 00, 159, 100%) | #33009fFF |
Saturated and desaturated colors of #33009f
HSL Code | Preview |
---|---|
hsl(259, 10%, 31%) | |
hsl(259, 20%, 31%) | |
hsl(259, 40%, 31%) | |
hsl(259, 60%, 31%) | |
hsl(259, 80%, 31%) | |
hsl(259, 100%, 31%) |
#33009f Color Usage In CSS
body { color: #33009f; } p { color: rgb(51, 00, 159); } header { border-bottom:1px solid #33009f; }