#fff871 Color
Color Codes | |
---|---|
Hex Code | #fff871 |
RGB Code | rgb(255, 248, 113) |
HSL Code | hsl(57, 100%, 72%) |
#fff871 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 248, 113); }
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(57, 100%, 72%); }
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 #fff871
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 248, 113, 10%) | #fff8711a | |
rgb(255, 248, 113, 20%) | #fff87133 | |
rgb(255, 248, 113, 40%) | #fff8714C | |
rgb(255, 248, 113, 60%) | #fff87199 | |
rgb(255, 248, 113, 80%) | #fff871CC | |
rgb(255, 248, 113, 100%) | #fff871FF |
Saturated and desaturated colors of #fff871
HSL Code | Preview |
---|---|
hsl(57, 10%, 72%) | |
hsl(57, 20%, 72%) | |
hsl(57, 40%, 72%) | |
hsl(57, 60%, 72%) | |
hsl(57, 80%, 72%) | |
hsl(57, 100%, 72%) |
#fff871 Color Usage In CSS
body { color: #fff871; } p { color: rgb(255, 248, 113); } header { border-bottom:1px solid #fff871; }