Color spaces of #158040
RGB | 21 | 128 | 64 |
---|---|---|---|
HSL | 0.40 | 0.72 | 0.29 |
HSV | 144° | 84° | 50° |
CMYK | 0.84 | 0.00 | 0.50 0.50 |
XYZ | 8.9538 | 15.9679 | 7.4607 |
Yxy | 15.9679 | 0.2765 | 0.4931 |
Hunter Lab | 39.9599 | -29.9333 | 16.9022 |
CIE-Lab | 46.9323 | -43.7540 | 26.6633 |
#158040 color RGB value is (21,128,64).
#158040 hex color red value is 21, green value is 128 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #158040 hue: 0.40 , saturation: 0.72 and the lightness value of 158040 is 0.29.
The process color (four color CMYK) of #158040 color hex is 0.84, 0.00, 0.50, 0.50. Web safe color of #158040 is #009933. Color #158040 contains mainly GREEN color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00010101 | 10000000 | 01000000 |
Octal | 25 | 200 | 100 |
Decimal | 21 | 128 | 64 |
Hex | 15 | 80 | 40 |
Shades of #158040
Tints of #158040
RGB Percentages of Color #158040
CMYK Percentages of Color #158040
Complementary Color
#158040 | #801555 |
#158040 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#158040 Color Preview on White Background
Lorem ipsum dolor sit amet.
#158040 Color CSS Codes
.mybgcolor {background-color:#158040; } .myforecolor {color:#158040; } .mybordercolor {border:3px solid #158040; }
#158040 Text Font Color
<p style="color:#158040">Text here</p>
This sample text font color is #158040
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#158040 Background Color
<div style="background-color:#158040">
Div content here</div>
This div background color is #158040
#158040 Border Color
<div style="border:3px solid #158040">
Div here</div>
This div border color is #158040
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(21,128,64, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #158040; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #158040; -webkit-box-shadow: 1px 1px 3px 2px #158040; box-shadow: 1px 1px 3px 2px #158040; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(21,128,64, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #158040">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #158040; -webkit-box-shadow: 1px 1px 3px 2px #158040; box-shadow: 1px 1px 3px 2px #158040;">
Div content here</div>
This div box has shadow with color #158040
Comments
No comments written yet.
Please login to write comment.