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