#fb6c2b Color
Color Codes | |
---|---|
Hex Code | #fb6c2b |
RGB Code | rgb(251, 108, 43) |
HSL Code | hsl(19, 96%, 58%) |
#fb6c2b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(251, 108, 43); }
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(19, 96%, 58%); }
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 #fb6c2b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(251, 108, 43, 10%) | #fb6c2b1a | |
rgb(251, 108, 43, 20%) | #fb6c2b33 | |
rgb(251, 108, 43, 40%) | #fb6c2b4C | |
rgb(251, 108, 43, 60%) | #fb6c2b99 | |
rgb(251, 108, 43, 80%) | #fb6c2bCC | |
rgb(251, 108, 43, 100%) | #fb6c2bFF |
Saturated and desaturated colors of #fb6c2b
HSL Code | Preview |
---|---|
hsl(19, 10%, 58%) | |
hsl(19, 20%, 58%) | |
hsl(19, 40%, 58%) | |
hsl(19, 60%, 58%) | |
hsl(19, 80%, 58%) | |
hsl(19, 100%, 58%) |
#fb6c2b Color Usage In CSS
body { color: #fb6c2b; } p { color: rgb(251, 108, 43); } header { border-bottom:1px solid #fb6c2b; }