#f62812 Color
Color Codes | |
---|---|
Hex Code | #f62812 |
RGB Code | rgb(246, 40, 18) |
HSL Code | hsl(6, 93%, 52%) |
#f62812 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 40, 18); }
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(6, 93%, 52%); }
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 #f62812
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 40, 18, 10%) | #f628121a | |
rgb(246, 40, 18, 20%) | #f6281233 | |
rgb(246, 40, 18, 40%) | #f628124C | |
rgb(246, 40, 18, 60%) | #f6281299 | |
rgb(246, 40, 18, 80%) | #f62812CC | |
rgb(246, 40, 18, 100%) | #f62812FF |
Saturated and desaturated colors of #f62812
HSL Code | Preview |
---|---|
hsl(6, 10%, 52%) | |
hsl(6, 20%, 52%) | |
hsl(6, 40%, 52%) | |
hsl(6, 60%, 52%) | |
hsl(6, 80%, 52%) | |
hsl(6, 100%, 52%) |
#f62812 Color Usage In CSS
body { color: #f62812; } p { color: rgb(246, 40, 18); } header { border-bottom:1px solid #f62812; }