#f25d0f Color
Color Codes | |
---|---|
Hex Code | #f25d0f |
RGB Code | rgb(242, 93, 15) |
HSL Code | hsl(21, 90%, 50%) |
#f25d0f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 93, 15); }
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(21, 90%, 50%); }
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 #f25d0f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 93, 15, 10%) | #f25d0f1a | |
rgb(242, 93, 15, 20%) | #f25d0f33 | |
rgb(242, 93, 15, 40%) | #f25d0f4C | |
rgb(242, 93, 15, 60%) | #f25d0f99 | |
rgb(242, 93, 15, 80%) | #f25d0fCC | |
rgb(242, 93, 15, 100%) | #f25d0fFF |
Saturated and desaturated colors of #f25d0f
HSL Code | Preview |
---|---|
hsl(21, 10%, 50%) | |
hsl(21, 20%, 50%) | |
hsl(21, 40%, 50%) | |
hsl(21, 60%, 50%) | |
hsl(21, 80%, 50%) | |
hsl(21, 100%, 50%) |
#f25d0f Color Usage In CSS
body { color: #f25d0f; } p { color: rgb(242, 93, 15); } header { border-bottom:1px solid #f25d0f; }