#154004 Color
Color Codes | |
---|---|
Hex Code | #154004 |
RGB Code | rgb(21, 64, 04) |
HSL Code | hsl(103, 88%, 13%) |
#154004 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 64, 04); }
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(103, 88%, 13%); }
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 #154004
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 64, 04, 10%) | #1540041a | |
rgb(21, 64, 04, 20%) | #15400433 | |
rgb(21, 64, 04, 40%) | #1540044C | |
rgb(21, 64, 04, 60%) | #15400499 | |
rgb(21, 64, 04, 80%) | #154004CC | |
rgb(21, 64, 04, 100%) | #154004FF |
Saturated and desaturated colors of #154004
HSL Code | Preview |
---|---|
hsl(103, 10%, 13%) | |
hsl(103, 20%, 13%) | |
hsl(103, 40%, 13%) | |
hsl(103, 60%, 13%) | |
hsl(103, 80%, 13%) | |
hsl(103, 100%, 13%) |
#154004 Color Usage In CSS
body { color: #154004; } p { color: rgb(21, 64, 04); } header { border-bottom:1px solid #154004; }