#940235 Color
Color Codes | |
---|---|
Hex Code | #940235 |
RGB Code | rgb(148, 02, 53) |
HSL Code | hsl(339, 97%, 29%) |
#940235 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(148, 02, 53); }
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(339, 97%, 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 #940235
RGB Code | Hex Code | Preview |
---|---|---|
rgb(148, 02, 53, 10%) | #9402351a | |
rgb(148, 02, 53, 20%) | #94023533 | |
rgb(148, 02, 53, 40%) | #9402354C | |
rgb(148, 02, 53, 60%) | #94023599 | |
rgb(148, 02, 53, 80%) | #940235CC | |
rgb(148, 02, 53, 100%) | #940235FF |
Saturated and desaturated colors of #940235
HSL Code | Preview |
---|---|
hsl(339, 10%, 29%) | |
hsl(339, 20%, 29%) | |
hsl(339, 40%, 29%) | |
hsl(339, 60%, 29%) | |
hsl(339, 80%, 29%) | |
hsl(339, 100%, 29%) |
#940235 Color Usage In CSS
body { color: #940235; } p { color: rgb(148, 02, 53); } header { border-bottom:1px solid #940235; }