#1c2f32 Color
Color Codes | |
---|---|
Hex Code | #1c2f32 |
RGB Code | rgb(28, 47, 50) |
HSL Code | hsl(188, 28%, 15%) |
#1c2f32 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 47, 50); }
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(188, 28%, 15%); }
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 #1c2f32
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 47, 50, 10%) | #1c2f321a | |
rgb(28, 47, 50, 20%) | #1c2f3233 | |
rgb(28, 47, 50, 40%) | #1c2f324C | |
rgb(28, 47, 50, 60%) | #1c2f3299 | |
rgb(28, 47, 50, 80%) | #1c2f32CC | |
rgb(28, 47, 50, 100%) | #1c2f32FF |
Saturated and desaturated colors of #1c2f32
HSL Code | Preview |
---|---|
hsl(188, 10%, 15%) | |
hsl(188, 20%, 15%) | |
hsl(188, 40%, 15%) | |
hsl(188, 60%, 15%) | |
hsl(188, 80%, 15%) | |
hsl(188, 100%, 15%) |
#1c2f32 Color Usage In CSS
body { color: #1c2f32; } p { color: rgb(28, 47, 50); } header { border-bottom:1px solid #1c2f32; }