#af2323 Color
Color Codes | |
---|---|
Hex Code | #af2323 |
RGB Code | rgb(175, 35, 35) |
HSL Code | hsl(0, 67%, 41%) |
#af2323 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 35, 35); }
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(0, 67%, 41%); }
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 #af2323
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 35, 35, 10%) | #af23231a | |
rgb(175, 35, 35, 20%) | #af232333 | |
rgb(175, 35, 35, 40%) | #af23234C | |
rgb(175, 35, 35, 60%) | #af232399 | |
rgb(175, 35, 35, 80%) | #af2323CC | |
rgb(175, 35, 35, 100%) | #af2323FF |
Saturated and desaturated colors of #af2323
HSL Code | Preview |
---|---|
hsl(0, 10%, 41%) | |
hsl(0, 20%, 41%) | |
hsl(0, 40%, 41%) | |
hsl(0, 60%, 41%) | |
hsl(0, 80%, 41%) | |
hsl(0, 100%, 41%) |
#af2323 Color Usage In CSS
body { color: #af2323; } p { color: rgb(175, 35, 35); } header { border-bottom:1px solid #af2323; }