HEX: #468C20
RGB: (70,140,32)
#468C20 contains mainly green color. Web safe color of #468C20 is #339933 (or #393).
#468C20 color RGB value is (70,140,32).
RGB: (70,140,32) (27%,55%,13%)
R 70 of 255 = 27%
G 140 of 255 = 55%
B 32 of 255 = 13%
R + G + B ~ 32%. #468C20 is quite dark color.
R + G + B =
70 + 140 + 32 = 242 (100%)
R 70 of 242 ~ 28.93%
G 140 of 242 ~ 57.85%
B 32 of 242 ~ 13.22%
#468C20 color CMYK value is (50,0,77,45).
CMYK: (50,0,77,45) C50M0Y77K45 (50%,0%,77%,45%) (0.50/0.00/0.77/0.45)
46 | 8C | 20 | |
---|---|---|---|
RGB | 70 | 140 | 32 |
HSL | 99° | 62.79% | 33.73% |
HSB/HSV | 99° | 77.14% | 54.90% |
CMYK | 50.00% | 0.00% | 77.14% |
45.10% |
HEX | 46 | 8C | 20 |
Decimal | 70 | 140 | 32 |
Binary | 1000110 | 10001100 | 100000 |
Octal | 106 | 214 | 40 |
Examples of css and html codes for elements with #468C20 color. Also use rgb(70,140,32) instead hex code.
.myTextColor { color: #468C20; }
<p style="color:#468C20">This sample text font color is #468C20.</p>
This text font color is #468C20.
.myBgColor { background-color: #468C20; }
<div style="background-color:#468C20">Inner text</div>
This div background color is #468C20.
.myBorderColor { border: 1px solid #468C20; }
<div style="border:3px solid #468C20">Div</div>
This div border color is #468C20.
.myOpacity80 { color: #468C20; opacity: 0.8; }
<p style="color:#468C20;opacity:0.8;">80%</p>
Text with #468C20 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #468C20;}
<p style="text-shadow: 3px 3px 1px #468C20">Text here.</p>
This text has shadow with #468C20 color.
.textShadow {text-shadow: 3px 3px 1px #468C20, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #468C20, 5px 5px 20px red">Text here.</p>
This text has shadow with #468C20 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#468C20, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#468C20, Direction=45, Strength=4)">Text</p>
This text has shadow with #468C20 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #468C20; -webkit-box-shadow: 1px 1px 3px 2px #468C20; box-shadow: 1px 1px 3px 2px #468C20; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #468C20; -webkit-box-shadow: 1px 1px 3px 2px #468C20; box-shadow:1px 1px 3px 2px #468C20;">
Div content here</div>
This text has color #468C20 on black background.
This text has color #468C20 on white background.
This text has black color on #468C20 background.
This text has white color on #468C20 background.