#f3b115 Color
Color Codes | |
---|---|
Hex Code | #f3b115 |
RGB Code | rgb(243, 177, 21) |
HSL Code | hsl(42, 90%, 52%) |
#f3b115 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(243, 177, 21); }
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(42, 90%, 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 #f3b115
RGB Code | Hex Code | Preview |
---|---|---|
rgb(243, 177, 21, 10%) | #f3b1151a | |
rgb(243, 177, 21, 20%) | #f3b11533 | |
rgb(243, 177, 21, 40%) | #f3b1154C | |
rgb(243, 177, 21, 60%) | #f3b11599 | |
rgb(243, 177, 21, 80%) | #f3b115CC | |
rgb(243, 177, 21, 100%) | #f3b115FF |
Saturated and desaturated colors of #f3b115
HSL Code | Preview |
---|---|
hsl(42, 10%, 52%) | |
hsl(42, 20%, 52%) | |
hsl(42, 40%, 52%) | |
hsl(42, 60%, 52%) | |
hsl(42, 80%, 52%) | |
hsl(42, 100%, 52%) |
#f3b115 Color Usage In CSS
body { color: #f3b115; } p { color: rgb(243, 177, 21); } header { border-bottom:1px solid #f3b115; }