#250a14 Color
Color Codes | |
---|---|
Hex Code | #250a14 |
RGB Code | rgb(37, 10, 20) |
HSL Code | hsl(338, 57%, 9%) |
#250a14 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(37, 10, 20); }
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(338, 57%, 9%); }
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 #250a14
RGB Code | Hex Code | Preview |
---|---|---|
rgb(37, 10, 20, 10%) | #250a141a | |
rgb(37, 10, 20, 20%) | #250a1433 | |
rgb(37, 10, 20, 40%) | #250a144C | |
rgb(37, 10, 20, 60%) | #250a1499 | |
rgb(37, 10, 20, 80%) | #250a14CC | |
rgb(37, 10, 20, 100%) | #250a14FF |
Saturated and desaturated colors of #250a14
HSL Code | Preview |
---|---|
hsl(338, 10%, 9%) | |
hsl(338, 20%, 9%) | |
hsl(338, 40%, 9%) | |
hsl(338, 60%, 9%) | |
hsl(338, 80%, 9%) | |
hsl(338, 100%, 9%) |
#250a14 Color Usage In CSS
body { color: #250a14; } p { color: rgb(37, 10, 20); } header { border-bottom:1px solid #250a14; }