#dcf042 Color
Color Codes | |
---|---|
Hex Code | #dcf042 |
RGB Code | rgb(220, 240, 66) |
HSL Code | hsl(67, 85%, 60%) |
#dcf042 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 240, 66); }
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(67, 85%, 60%); }
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 #dcf042
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 240, 66, 10%) | #dcf0421a | |
rgb(220, 240, 66, 20%) | #dcf04233 | |
rgb(220, 240, 66, 40%) | #dcf0424C | |
rgb(220, 240, 66, 60%) | #dcf04299 | |
rgb(220, 240, 66, 80%) | #dcf042CC | |
rgb(220, 240, 66, 100%) | #dcf042FF |
Saturated and desaturated colors of #dcf042
HSL Code | Preview |
---|---|
hsl(67, 10%, 60%) | |
hsl(67, 20%, 60%) | |
hsl(67, 40%, 60%) | |
hsl(67, 60%, 60%) | |
hsl(67, 80%, 60%) | |
hsl(67, 100%, 60%) |
#dcf042 Color Usage In CSS
body { color: #dcf042; } p { color: rgb(220, 240, 66); } header { border-bottom:1px solid #dcf042; }