#7b0269 Color
Color Codes | |
---|---|
Hex Code | #7b0269 |
RGB Code | rgb(123, 02, 105) |
HSL Code | hsl(309, 97%, 25%) |
#7b0269 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 02, 105); }
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(309, 97%, 25%); }
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 #7b0269
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 02, 105, 10%) | #7b02691a | |
rgb(123, 02, 105, 20%) | #7b026933 | |
rgb(123, 02, 105, 40%) | #7b02694C | |
rgb(123, 02, 105, 60%) | #7b026999 | |
rgb(123, 02, 105, 80%) | #7b0269CC | |
rgb(123, 02, 105, 100%) | #7b0269FF |
Saturated and desaturated colors of #7b0269
HSL Code | Preview |
---|---|
hsl(309, 10%, 25%) | |
hsl(309, 20%, 25%) | |
hsl(309, 40%, 25%) | |
hsl(309, 60%, 25%) | |
hsl(309, 80%, 25%) | |
hsl(309, 100%, 25%) |
#7b0269 Color Usage In CSS
body { color: #7b0269; } p { color: rgb(123, 02, 105); } header { border-bottom:1px solid #7b0269; }