#af2000 Color
Color Codes | |
---|---|
Hex Code | #af2000 |
RGB Code | rgb(175, 32, 00) |
HSL Code | hsl(11, 100%, 34%) |
#af2000 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(175, 32, 00); }
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(11, 100%, 34%); }
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 #af2000
RGB Code | Hex Code | Preview |
---|---|---|
rgb(175, 32, 00, 10%) | #af20001a | |
rgb(175, 32, 00, 20%) | #af200033 | |
rgb(175, 32, 00, 40%) | #af20004C | |
rgb(175, 32, 00, 60%) | #af200099 | |
rgb(175, 32, 00, 80%) | #af2000CC | |
rgb(175, 32, 00, 100%) | #af2000FF |
Saturated and desaturated colors of #af2000
HSL Code | Preview |
---|---|
hsl(11, 10%, 34%) | |
hsl(11, 20%, 34%) | |
hsl(11, 40%, 34%) | |
hsl(11, 60%, 34%) | |
hsl(11, 80%, 34%) | |
hsl(11, 100%, 34%) |
#af2000 Color Usage In CSS
body { color: #af2000; } p { color: rgb(175, 32, 00); } header { border-bottom:1px solid #af2000; }